HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Catch all subdomain with ispconfig (http://www.howtoforge.com/forums/showthread.php?t=54390)

laptop_user 1st October 2011 23:17

Catch all subdomain with ispconfig
 
Hello,

Is Ispconfig support catch all subdomain? (I'm not sure if this is the correct word?)

What I want to do is I want to redirect user who type non-existent subdomain to a page.

Example: hello.mydomain.com is created in DNS but not hi.mydomain.com.
I want to redirect hi.mydomain.com to a landing page?

Is it possible? Thank you :)

Toucan 2nd October 2011 02:24

Yes.
On the site page set auto subdomain to *

Make a dns 'a record' with hostname *

That should take you to default site page. Maybe .htaccess can help perform a redirect to a specific page if that's what you're after


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

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