Set your ASP file as the default index
Only valid for legacy plans that support ASP.
For some customers that use ASP with their Developer's heaven or Multi-Resources plan, it is a common format to name the main website file as 'default.asp'. In order for the server to recognize your personalized index file as the main/first file to lookup for your website, you need to specify the file name in the .htaccess of your domain's directory
Prerequisites
-
Have a legacy plan that offers ASP
-
Access your cPanel interface
Task completion: 10 minutes
Expertise: Intermediate
How to do it?
-
Log into your cPanel control panel
-
Go to the File Manager.
-
Browse to the /public_html/ directory
-
Locate the .htaccess file, and click on the file image, not the name, so it becomes highlighted.
-
Click on the Code Editor button on top.
-
A new window/tab will appear in which you can enter new values just like any other text file. You will need to add a directive on the first line of the file. You can push down current data by hitting enter a couple of times to space out the file. You would enter the following line if your website's filename is 'default.aspx' :
DirectoryIndex default.aspx
7. Save the file and you're done!
0 Comments