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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th July 2013, 23:39
elCorazon elCorazon is offline
Junior Member
 
Join Date: Jun 2006
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default vhost priority / ordering in sites-enabled

Hi,

I have a web sample.com with Auto-Subdomain set to * and I need to keep this setting because there are a lot of subdomains that must be sent to that web.

I now need another web with a specific subdomain abc.sample.com. However the order of the vhost files in sites-enabled is
  • 900-sample.com.vhost
  • 900-abc.sample.com.vhost

Because of that order of course the catchall *.sample.com will also fetch the abc.sample.com which is not intended.

Is it possible to re-arrange the order of the vhost files like having
  • 100-abc.sample.com.vhost
  • 900-sample.com.vhost
??

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2013, 08:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Quote:
Originally Posted by elCorazon View Post
Hi,

I have a web sample.com with Auto-Subdomain set to * and I need to keep this setting because there are a lot of subdomains that must be sent to that web.

I now need another web with a specific subdomain abc.sample.com. However the order of the vhost files in sites-enabled is
  • 900-sample.com.vhost
  • 900-abc.sample.com.vhost

Because of that order of course the catchall *.sample.com will also fetch the abc.sample.com which is not intended.

Is it possible to re-arrange the order of the vhost files like having
  • 100-abc.sample.com.vhost
  • 900-sample.com.vhost
??

Thank you
you have to set auto subdomain to 'none' instead of * in the site abc.sample.com
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th July 2013, 11:21
elCorazon elCorazon is offline
Junior Member
 
Join Date: Jun 2006
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default Thanks

I see - so "none" is ordered into the 100-*.vhost files and "*" into the 900-*.vhost files. That actually does make some sense

Thanks for the quick response.
Reply With Quote
Reply

Bookmarks

Tags
vhost ispconfig

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
Php include files dme1409 General 2 16th January 2012 09:55
Broken php5-mysql dclardy Installation/Configuration 8 9th October 2009 09:49
server Installation Configuration deco5003 Installation/Configuration 12 5th August 2009 12:00
Uploads timing out Gaartok Server Operation 3 10th May 2009 18:04
The classic MySQL connect error swggy Installation/Configuration 13 10th April 2008 21:45


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


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