HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   domain.com resolves to shared IP page. (http://www.howtoforge.com/forums/showthread.php?t=55412)

street 15th December 2011 04:04

domain.com resolves to shared IP page.
 
Centos 5, ISPConfihg 2.2.4

My domains, "domain.com", resolve to a shared ip page rather that the site for the domain.
I have seen similar posts for issues where the subdomain does this. My subdomains all resolve to the site for the domain as expected.

I have Registered nameservers with registrar under the same domain.

ns1.domain.com 1.2.3.4
ns2.domain.com 1.2.3.4

A Records in ISPconfig: www.domain.com 1.2.3.4

Everything else works fine including mail ftp etc..

Am I missing some essential record?

Please assist.

falko 15th December 2011 19:26

What's in your Vhosts_ispconfig.conf, and what's the output of
Code:

ifconfig
?

IP addresses in Vhosts_ispconfig.conf must correspond to those in the output of ifconfig.

street 17th December 2011 05:44

domain.com resolves to shared IP page.
 
The IP's match in both files:

One of my sites in Vhosts_ispconfig.conf

<VirtualHost 75.98.169.179:80>
ServerName www.15ddc.com:80
ServerAdmin webmaster@15ddc.com
DocumentRoot /var/www/web2/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web2/log/error.log
Alias /stats "/var/www/web2/web/webalizer"
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>

And ifconfig:

[root@server ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:99261 errors:0 dropped:0 overruns:0 frame:0
TX packets:99261 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11669781 (11.1 MiB) TX bytes:11669781 (11.1 MiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:14206777 errors:0 dropped:0 overruns:0 frame:0
TX packets:14858250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2583738141 (2.4 GiB) TX bytes:15181113940 (14.1 GiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:75.98.169.137 P-t-P:75.98.169.137 Bcast:75.98.169.137 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:75.98.169.179 P-t-P:75.98.169.179 Bcast:75.98.169.179 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

falko 17th December 2011 17:10

I get a "Server not found" error when I try to access http://www.15ddc.com/ .

Does the DNS record point to the correct server? Is Apache listening on all interfaces? Did you check your firewall settings?

street 18th December 2011 01:15

Yes, sorry about that. It's up now.

street 19th December 2011 02:55

Meaning that the server is online but the issue still exists.

falko 19th December 2011 11:40

Working for me. I see the welcome page for www.15ddc.com.

street 20th December 2011 00:27

Yes, the issue is not with the sub-domains. Try without the www.

falko 20th December 2011 13:11

Please check if 15ddc.com exists as a Co-Domain (without www) for the www.15ddc.com website.

street 20th December 2011 14:14

No, there are no co-domains. when I try to create a co-domain without any subdomain I get the message "The name .offshore-etc.com is already in use by another site or domain."


All times are GMT +2. The time now is 10:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.