Jump to content

WhiskeyJack

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by WhiskeyJack

  1. It seems the most elegant solution is:

     

    Redirect /beta http://beta.mysite.com

     

     

    Thanks for the pointers.

     

    ~WhiskeyJack

     

    You should create your subdomain folders in your /home directory instead of inside /home/public_html. CPanel tries to get you to put your subdomain folders inside /home/public_html, but that is not really a good idea because a subdomain is supposed to be a 'different domain' than your main domain. You should change it manually to create subdomain document roots in your /home directory, its more secure.

     

    On that note, is there a way to change the folder a subdomain points to?

     

    ~WhiskeyJack

  2. I have setup a subdomain for my site called beta, to put up content I wish to test on the server but not make live to the public. The root folder for the subdomain is public_html/beta. Problem is, if a user goes to /beta instead, they are able to access the content. Is there a way to make the folder visible only to those visiting beta.mysite.com instead of mysite.com/beta?

     

    ~WhiskeyJack

×
×
  • Create New...