Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11th May 2010, 22:58
agramajo agramajo is offline
Junior Member
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default website subdomain wildcard support

Hi!

With a simple modification we can have a wildcard in our website subdomain.

Example:
You want this, wildcard subdomain: *.example.com redirects to example.com

Go to: Sites -> Websites -> Subdomain for website -> Add new subdomain
Host: *
Domain: example.com
Redirect Type: No redirect

Then ISPConfig will generate "example.com.vhost" with:
...
ServerAlias *.example.com

Test it and use at your own risk.

I wait that this little patch could be included in next release. Only it allows * in regex domain verification. I use it in my production servers (Debian 5).

http://people.baicom.com/~agramajo/p...wildcard.patch

# wget ...
# cd /usr/local/ispconfig
# patch -p0 < ispconfig3_website-subdomain-wildcard.patch

I saw a post with a different solution.

Regards,
Alejandro
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
subdomain, website, wildcard

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
server Installation Configuration deco5003 Installation/Configuration 12 5th August 2009 12:00
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 23rd September 2008 23:58
Update php shajazzi Server Operation 6 6th April 2008 18:20
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31
ISPConfig Failure on SuSe 9.3 gimhan90 Installation/Configuration 13 2nd February 2006 10:29


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


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