Jump to content

Automatic Subdomain of predefined domain


cyber1dev

Recommended Posts

As part of configuring everything, I find the "Subdomain Options" setting on the "Other" tab within the Product/Services configuration to be very helpful. Although I am trying to establish a method of making this a default action for every hosting account.

 

For example, in the Subdomain Options setting is defined as .example.com and I would like to automatically create a subdomain of .example.com using the username of the account. Such as username1 would have a parked subdomain of username1.example.com

 

I have to assume that someone has done this already? Although I haven't been able to locate anything that answers the question. I found lots of related information on the mod_userdir tweak which provides access to a site through example.com/~username1 which isn't what I'm looking to do. In fact, I have mod_userdir disabled.

 

Any guidance would be appreciated!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated