#1  
Old 3rd June 2012, 11:32
Lucrian Lucrian is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Domain priorities

Hello,

Currently I'm confronting with Reverse IP problem because I have several (sub)domains on the same IP.

The problem was described at: http://www.howtoforge.com/forums/showthread.php?t=57508

I'll not write all things that I wrote there because are explained at that link.

My request is:
1. In ISPConfig set a default domain for an IP
or
2. Let us to change name of virtual host file to put it as the default
Reply With Quote
Sponsored Links
  #2  
Old 4th June 2012, 17:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

You can do this already by prefixing the domain with a number and then add the domain back as aliasdomain. e.g.:

Change the domain in the site settings from domian.tld to 01-domain.tld and then add domain.tld as aliasdomain. So changing the vhosts file manually as you did is not required.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th June 2012, 21:29
Lucrian Lucrian is offline
Junior Member
 
Join Date: Mar 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

10x for hint. It's working...
What I don't understand:

If I type http://ip1 , in the address bar remains http://ip1 and display the page correctly.
But if I type http://ip2 , the address bar is changing in http://www.mydomain.tld and of course display the page correctly.
Reply With Quote
  #4  
Old 5th June 2012, 09:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Either there is a rewrite rule in a .htaccess file of that site or you use a cms system on IP2 that does the redirect. E.g. wordpress is doing this and other cms are doing a redirect to their main domain as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Issues with Baruwa - The Perfect Spamsnake Ubuntu 10.10 neofire HOWTO-Related Questions 44 31st May 2011 16:09
Postfix queue problem? murunix Server Operation 7 2nd May 2011 02:55
Postfix not forwarding for some domains flappy Installation/Configuration 3 21st November 2010 18:57
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49


All times are GMT +2. The time now is 00:57.


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