Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24
Hello, Sorry it took me so long to reply. I re-set httpd.conf to how it was before, and folowed the tutorial exactly, but its still not working. I really need ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38

    Hello,
    Sorry it took me so long to reply. I re-set httpd.conf to how it was before, and folowed the tutorial exactly, but its still not working. I really need to gett this working to accomodate my other websites. Any help would be greatly apreciated.
    Thanks a lot,
    Byroman

  2. #12
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38

    Any one?!

    Any one know how to do this? I really need to get this working and ive tried a million different things and none of them are working. Am I the only one here trying to host multiple websites?!
    Any help is greatly apreciated.

  3. #13
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    so explain what is happening again. you own domains www.fake.com and www.anotherfake.com and they both point to the same IP address and are supposed to serve different content. www.fake.com going to the right information, www.anotherfake.com does not.

    explain whats going on, then post your httpd.conf file or you can send a PM to me with your entire httpd.conf file

  4. #14
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Thanks for the reply.
    Since i made the post before, i seem to have it partially working. Ok the two domains I am using are byroman.homelinux.org and byroman.homelinux.com. Both these are just temporary domains. byroman.homelinux.org works pretty good, and turns up my website only if you go /index.html. byroman.homelinux.com turns up nothing even though my website is uploaded into its folder. I played around with it a bit, and now byroman.homelinux.com turns up the Fedora test page, but it wont go away, and so does byroman.homelinux.org. But when i go to byroman.homelinux.org/main/ (the folder all the files are in) it brings up my website. Yay! I have folowed all the steps in removing the test page, but it still comes up. Ive sent you a PM with a copy of httpd.conf.
    Thanks,
    Byroman

  5. #15
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Hello again,
    I guess my PM didnt work. I tried sending it again, but it said it was too long. So i decided to post it here. Its attached.

    Also- i think i have it working, but for some reason byroman.homelinux.com keeps on going to byroman.homelinux.org even though the setting show it shouldnt be...
    As well I got the test page to go away.
    Thanks!
    Byroman
    Attached Files Attached Files

  6. #16
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    no it is still not working. just try to make it simple first then work off of that, try this at the end. report back also it looks like some stuff is out of place at the end of your conf file, not sure if it will make a difference or not but usually the virtual host stuff is the very last thing in the conf file, either way, try this and report back

    <VirtualHost *>

    ServerName byroman.homelinux.org
    DocumentRoot /var/www/html/main/
    ServerAdmin byroman@gmail.com

    </VirtualHost>

    # Virtual host byroman.homelinux.com
    <VirtualHost *>

    ServerName byroman.homelinux.com
    DocumentRoot /var/www/html/threemeninatub/
    ServerAdmin byroman@gmail.com


    </VirtualHost>

  7. #17
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Ok, Thanks for the reply!
    I replaced that section, and tested it out using my neibors internet connection. now byroman.homelinux.org seems to be working perfectsly, it goes to the right website, but .com still doesnt want to work for some reason. It goes to the same website as .org. So really .org is working right, but .com is still giving me trouble. Whats going wrong here? The sett9ng show that .com should go to /var/www/html/threemeninatub but it goes to /var/www/html/main.
    Thats for all the help,
    Byroman

    Edit: as well, when i go to start httpd, this comes up:
    Starting httpd: [Tue Apr 25 17:05:05 2006] [warn] NameVirtualHost 72.57.170.113:0 has no VirtualHosts
    It still works, its just a warning. Could this be it?

  8. #18
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    yes thats probably the problem. everywhere you have your ip address, replace it with *

    so
    NameVirtualHost 72.57.170.113

    would become
    NameVirtualHost *

    then restart apache and see if the error goes away, if not report back what error you get or what happens

  9. #19
    Just Joined! Byroman's Avatar
    Join Date
    Mar 2006
    Location
    St. George, Ontairo, Canada
    Posts
    38
    Humm... well thats no good. I Searched the whole file for any where with my IP but the only one I found was Name VirtualHost. I replaced my IP with a *, then restarted httpd, but I got this error:

    Starting httpd: [Wed Apr 26 16:27:55 2006] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

    Im not sure what it means, but it must not be god, because afterwards, nothing worked at all. Any ferther ideas?
    Thanks for all the help,
    Byroman

  10. #20
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how bout trying *:80

    for you address instead of *

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •