US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > How-To Guides


Reply
 
Thread Tools
Old 05-17-2016, 05:56 PM   #1
Junior Member
 
Join Date: May 2016
Posts: 26
Trax is on a distinguished road
Question Wildcard Sub-Domain

Hi,

How would i add a wildcard sub-domain? I need the sub-domain to point direct to a folder within my main domains files.

Example:

mydomain.com > public_html

wildcard.mydomain.com > public_html > afolder

How can i do this?

Thanks,
Jason
Trax is offline   Reply With Quote
Old 05-18-2016, 07:12 AM   #2
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

Hello,

You can enable auto sub-domains in ISPmanager -> WWW domains -> Edit -> Autosubdomains.

After enabling it don't forget to add alias *.domain.com to the WWW domain.

Then just create folder for subdomains.
fly is offline   Reply With Quote
Old 05-18-2016, 06:01 PM   #3
Junior Member
 
Join Date: May 2016
Posts: 26
Trax is on a distinguished road
Default

Alright thanks, i'll look into it.

I don't understand how it'd know which folder to look in though? In other panels i've had to specify the full path so the wildcard domain knows where the files are stored.

Last edited by Trax; 05-18-2016 at 06:05 PM.
Trax is offline   Reply With Quote
Old 05-19-2016, 07:52 AM   #4
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

Folders should be created manually.

For example, there is domain one.com.
If autosubdomains in separate directory is enabled for this domain, then needs to create directory for subdomain

/var/www/user/data/www/sub.one.com - for subdomain sub.one.com

If autosubdomains in the domains subdirectory is enabled for this domain, then needs to create directory for subdomain

/var/www/user/data/www/one.com/sub - for subdomain sub.one.com
fly is offline   Reply With Quote
Reply

Tags
subdomain, wildcard

Thread Tools

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


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