Learning More About Hosting: Setting Up a Document Root

Many of you have asked if you can change the default document root for your hosting account or what you see as your 'home' directory. Let's say you would like to setup a 'Wordpress' directory to be the default so this way users don't have any redirects when simply hitting the domain. For domain aliases added to a hosting account you are able to setup a directory for the document root of that alias.

For example, you own domain "abc.com". You would like to use the directory 'Wordpress' as the document root when people visit "http://www.abc.com". The steps to achieve this are:

1) Use the 'Hosting Control Center' to modify the domain of your hosting account to something other than "abc.com". It has to be unique in our system, but usually something like "this-is-my-fake-abc-dot-com.com" will be unique in the system.

2) After the domain change completes, use the 'Hosting Control Center' to add a domain to your account. Select your "abc.com" domain from the drop-down and be sure to specify 'Wordpress' as the home directory. This will add your previous domain as an 'alias' to your account.

3) Once the 'alias' completes setup (usually less than 30 minutes), your domain will be working and have its document root as your 'Wordpress' directory.

Please realize this is a definitely considered a workaround and we know it's not the ideal solution. It's also important to know that your site may experience downtime depending on the timing of the DNS updates.

Use this article for detailed instructions. Setting up a Non-Web Accessible Root Folder


Note: This procedure applies to Deluxe and Premium hosting accounts only.

 del.icio.us  Stumbleupon  Technorati  Digg 

 
Trackbacks
  • No trackbacks exist for this entry.
Comments
Page: 1 of 1
  • 7/16/2008 9:11 PM Ravi Kumar wrote:
    Hi,

    I have a windows shared hosting account. I want to set the default landing page for my site. How i can do this. i did'nt found any provision in the site. Can any help on this, By default when we purchase a hosting account the default page is welcome.html i want to change this setting. Thanks in advance
    Reply to this
    1. 7/17/2008 5:17 PM Alicia wrote:
      The welcome.html page serves as a placeholder until you upload site content. You can upload a custom landing page and name it another default. For more information, see this article.


      Reply to this

Page: 1 of 1
Leave a comment

Submitted comments will be subject to moderation before being displayed.

 Enter the above security code (required)

 Name (required)

 Email (will not be published) (required)

Your comment is 0 characters limited to 3000 characters.