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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 7th September 2010, 21:05
MacGoose MacGoose is offline
Join Date: Aug 2010
Posts: 37
Thanks: 2
Thanked 1 Time in 1 Post
Default Bug or feature in ... Domain > IP-Address


Under Sites > Web Domain > Domain > IP-Address I can choose either the IP address of my server or *.

My servers name is something like server.mydomain.com and I have two domains www.mydomain.com and intranet.mydomain.com.

So if I go to these addresses in my browser they will go to their respective sites. Like this:

server.mydomain.com > correct website ( root )
www.mydomain.com > correct website ( web1 )
intranet.mydomain.com > correct website ( web2 )

However, if I under the settings above ... Domain > IP-Address set my intranet domain to the servers IP address. When I now try to browse to server.mydomian.com it shows the intranet site. Like this:

server.mydomain.com > wrong website ( web2 )
www.mydomain.com > correct website ( web1 )
intranet.mydomain.com > correct website ( web2 )

Also, if I only set the IP address of www.mydomain.com then there is no error. It seems to only affect the last added website.

Is this a bug? What does the ... Domain > IP-Address do really? What is the difference of setting it to an IP address or just *?

, MacGoose
Reply With Quote
Sponsored Links
Old 7th September 2010, 22:14
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

Thats the normal behaviour of the apache webserver and not a bug.

You can either use a wildcard (*) in a apache vhost or the IP address. A IP address is always "stronger" then a wildcard. The result is that if you mix IP and * based vhosts, then a website gets redirected to the IP based site.

So the result of this, never mix IP's and * for websites that use the same IP, either use * for all websites that point to a specific IP or use * for all sites. A IP has to be used if you need a ssl certificate, otherwise * is fine as well.

If you like to know the details of how an apache server works, you might want to take a look at the apache server documentation: http://www.apache.org/
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 7th September 2010, 22:35
MacGoose MacGoose is offline
Join Date: Aug 2010
Posts: 37
Thanks: 2
Thanked 1 Time in 1 Post

Thanx! You've helped me alot.

, MacGoose
Reply With Quote


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
Send emails impossible 007007 Installation/Configuration 11 19th July 2010 02:09
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 13:47
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 9th May 2009 00:00
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58

All times are GMT +2. The time now is 07:18.

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