Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th December 2011, 04:04
street street is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 15th December 2011, 19:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th December 2011, 05:44
street street is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #4  
Old 17th December 2011, 17:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th December 2011, 01:15
street street is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, sorry about that. It's up now.
Reply With Quote
  #6  
Old 19th December 2011, 02:55
street street is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Meaning that the server is online but the issue still exists.
Reply With Quote
  #7  
Old 19th December 2011, 11:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Working for me. I see the welcome page for www.15ddc.com.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 20th December 2011, 00:27
street street is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, the issue is not with the sub-domains. Try without the www.
Reply With Quote
  #9  
Old 20th December 2011, 13:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please check if 15ddc.com exists as a Co-Domain (without www) for the www.15ddc.com website.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 20th December 2011, 14:14
street street is offline
Junior Member
 
Join Date: Dec 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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."
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Apache2 modules issues zinnium Server Operation 3 26th November 2011 09:12
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


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


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