Results 11 to 20 of 24
Enjoy an ad free experience by logging in. Not a member yet? Register.
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,
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.
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
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.
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.
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
# Virtual host byroman.homelinux.com
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,
Edit: as well, when i go to start httpd, this comes up:
Starting httpd: [Tue Apr 25 17:05:05 2006] [warn] NameVirtualHost 184.108.40.206:0 has no VirtualHosts
It still works, its just a warning. Could this be it?
yes thats probably the problem. everywhere you have your ip address, replace it with *
then restart apache and see if the error goes away, if not report back what error you get or what happens
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,
how bout trying *:80
for you address instead of *