Frequently Asked Questions

Help Center Search

Setting up a Non-Web Accessible Root Folder

Print this Article
Comment on this Article
Last Updated: February 17, 2009 10:55 AM

When setting up your shared hosting account, you are required to enter the primary domain name to be used for your Web site. The primary domain name serves as one of several unique identifiers for your site, and it is also the primary address visitors use to access your site’s root content folder through a Web browser.

By default, this root folder is set as an application root and also set to allow anonymous access. These options cannot be changed directly. However, you can make your root folder non-web accessible using a false domain name. A domain name (real or false) is still required to act as one of your site's identifiers.

Note: This procedure applies to Deluxe and Unlimited Hosting accounts only.

To Make Your Root Directory Non-Web Accessible

  1. Log in to your Account Manager.
  2. In the My Products section, select Hosting.
  3. Click Manage Account next to the hosting account you want to manage.
  4. Next to the hosting account you want to modify, click Manage Account.
  5. In the Settings section, select Domain Management.
  6. Under Primary Domain on Hosted Site, click Change Domain.
  7. Enter a false domain name for the hosted site. This domain name should not be a real domain used by you or anyone else. You can use your site's primary domain with a suffix to indicate it is not a working domain. For example, if your domain is www.coolexample.com, you can use www.coolexample-false.com.

    NOTE: Changes to the primary domain affect the availability of your site. Until the remaining steps are completed, your site is not accessible. This change also necessitates the use of server IP address and not domain name to FTP.

  8. Click Continue.
  9. Click Submit. If the domain name is in use by another account, you will be asked to enter another domain name at this time.

You now need to add your real domain name as a non-primary domain for your account.

To Add Your Domain Name as a Non-Primary Domain for Your Account

  1. Log in to your Account Manager, and then click Hosting.
  2. Next to the hosting account you want to modify, click Manage Account.
  3. In the Settings section, select Domain Management.
  4. In the Domain field, select your domain from the list or enter the full domain name. This domain must be a registered domain you own; however, it need not be registered with us.
  5. In the Domain Hosting Path field, enter the path to your new Web root folder. This path must point to a subfolder; if it points to the root folder of your site, your root folder is accessible through a Web browser. To indicate its purpose, name the folder webroot or something similar.
  6. Click Add Domain.

After you update your account in this way, it is important to remember that the root folder of your site still allows access to anonymous users, but not through a Web browser. It is possible that your site may allow users to access files stored in these directories. If you would like folders to be more secure, create a new virtual directory off of the site root and restrict its access.