| Linode Forum https://forum.linode.com/ |
|
| DNS problem to domain resolve https://forum.linode.com/viewtopic.php?f=19&t=3511 |
Page 1 of 1 |
| Author: | dibbellas [ Wed Sep 10, 2008 3:29 pm ] |
| Post subject: | DNS problem to domain resolve |
Hello i have set up the machine with ubuntu , and apache2 i have two domain tuttecene.com and hardcoreultras.com I have setted up virtual hosts in apache2 conf: Code: <VirtualHost 72.14.178.196:80> And for tuttecene : Code:
The default is: Code:
I i ping www.hardcoreultras.com Code: root@ubuntu:/etc/apache2/sites-enabled# ping www.hardcoreultras.com Tuttecene .com ping Code: root@ubuntu:/etc/apache2/sites-enabled# ping www.tuttecene.com It reply with hardcorueltras.com website !!! and if i go to www.tuttecene.com i automaticaly redirected to hardcoreultras.com! the DNS setting is this: Hardcoreultras.com zone file : Code: $TTL 86400 Tuttecene.com Zone file Code: TTL 86400 Where i wrong?? |
|
| Author: | Internat [ Wed Sep 10, 2008 5:42 pm ] |
| Post subject: | |
are you sure you have both sites properly enabled in apache? And do you have an entry somewhere in your config file that says Code: NameVirtualHost 72.14.178.196:80to tell apache that your using virtualhosts? Ignore the pinging issue thats not related. Thats due to when you do a ping, it does a reverse look up on the IP address as well. So i assume in the linode network manager you set the reservse IP entry to be the first domain. |
|
| Author: | dibbellas [ Wed Sep 10, 2008 8:19 pm ] |
| Post subject: | |
# Include the virtual host configurations: Include /etc/apache2/sites-enabled/ NameVirtualHost 72.14.178.196:80 yes! is at the end of the apache conf file ! |
|
| Author: | Internat [ Wed Sep 10, 2008 8:35 pm ] |
| Post subject: | |
Im not sure if youve sorted this out or not.. But when i browse to http://www.tuttecene.com/ i get a 403 forbidden error, and when i browse to http://www.hardcoreultras.com/ i get a different site.. |
|
| Author: | dibbellas [ Thu Sep 11, 2008 7:31 am ] |
| Post subject: | |
Solved , apache2 have problems with sueXec , now i have isntalled and configured and it work perfectly |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|