Apache2 Name-based Virtual Hosts Problem with .org domain!
Im having trouble getting my 3rd website to work on my apache2 server;
the others work ok, this is a .org domain im trying to get working but when i enter the site into my browser it goes to my default site instead. Please help! Code:
#NameVirtualHost * |
what does the log say for that virtualhost?
|
could it be that the dns of the site3.org isnt pointing to your server yet?
|
I dont think is dns related if he is getting to the correct ip, does the output of
dig www.site3.org shows your ip? |
i use everydns.com and ive set records as follows:
site3.org HOST A TYPE 6x.1xx.2x.1xx VALUE www.site3.org HOST A TYPE 6x.1xx.2x.1xx VALUE are those ok? because the ip is of the server im using to host the other 2 and they work -- oh and what log are you talking about? |
yes the dig is resolving site3.org to my correct ip and nameservers as I set them.
|
who has the SOA? you need an SOA record I dont see it there.
|
Code:
[Sat Aug 19 18:55:00 2006] [error] [client 6x.2xx.2x.3x] File does not exist: /var/www/site1/var, referer: http://www.site3.org/css3.css can someone please tell me what i need to clarify? |
an SOA record? the everydns options only list a possible choice of A, CNAME, NS or MX
should i switch dns hosts? |
Do you query and internal dns? I mean if you use you own dns resolver or you query an external one. I really dont see anything wrong with your conf file.
If you query and internal dns check the zones for your internal network and clean the cache. |
Quote:
|
thats interesting but as you can see from my httpd.conf file the servername and alias are correct.
|
lol :)
i see site3.org not the true name. |
lol forget about that thats just for a lil privacy
|
great. i did something to the httpd.conf file and now ALL my domains revert to the default.
|
All times are GMT -5. The time now is 02:21 AM. |