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.
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.
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 [email protected] 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
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?
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."