Style

 Search

 

Here you can search and view our site Knowledge Base.
To find a specific article, use KB-article number format (ex. KB-1)

Article number: Article number: kb-52
Q. How do I control the default web page for my domain or subdomain?

A.

All you need to do is create an empty text file called .htaccess in the folder containing your desired default web page. Then, you have to add the following line to the .htaccess file:

DirectoryIndex something.xyz

where something.xyz is the file name of your desired default web page.

This will be the web page that loads up by default when someone accesses that folder with their web browser.
Each folder (including the /public_html folder) can have its own .htaccess file. Since each subdomain has its own folder, this means that the default web page for your domain and each of your subdomains can be easily specified.


This page has been viewed 1249 times

Other questions in this category Other questions in this category
1. I cannot send/receive email. What's wrong? (viewed 3750 times)
2. Finding out the PHP configuration on the server (viewed 3707 times)
3. Anonymous FTP (viewed 3605 times)
4. What is FTP? (viewed 3454 times)
5. Adding a Parked Domain (viewed 3452 times)
6. What is cPanel? (viewed 3393 times)
7. Where can I find cPanel Manuals/Documentation? (viewed 3339 times)
8. If I use FrontPage, should I FTP my files? (viewed 3317 times)
9. Publishing Your Web Files with FrontPage (viewed 3315 times)
10. Service Port Numbers (viewed 2029 times)

Return to Search