Jump to content

Subdomains inside a folder


Yngwiedis

Recommended Posts

Hello...

 

First of all sorry for my bad english.

 

I want to do something weird with the subdomain option.

I want the customers can get a subdomain, but the WHMCS create the account folder inside another folder on the server.

For example... If i want to register the subdomain http://myname.mydomain.com the REAL URL will be http://mydomain.com/myname

I want to do it like this : http://mydomain.com/users/myname

 

Is there any way to achieve that ?

 

Thank you in advance for any answer.

Link to comment
Share on other sites

I don't believe this is actually possible because of the way that CPanel sets up sub-domain accounts (as opposed to subdomains within an existing account)

 

When your customer buys a subdomain, do you want them to have their own CPanel login?

 

 

Νο. I dont know if this is even possible.

I just want the user account have an FTP account to his folder, and if is possible an email address @mydomain.com

Link to comment
Share on other sites

  • 3 weeks later...

Your document root for a user in cpanel for a standard cpanel account is usually something like this:

 

/home/YourUsername/public_html

 

For a subdomain you would put what folder you want. Where is the folder on the system the sub-domain should point to?

Link to comment
Share on other sites

  • 4 weeks later...

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