where to upload index.html file
Hi all,
I am newbie to web programming and architecture ,recently i got a domain name and the hodting server is linux .All i need is when i enter my webaddress i need to display my index.html pages but when i get default index.html page provided by hosting server saying "website is under construction" .So inorder to display my custom index.html page when i enter my webaddress where should i upload my custom index.html page(i just want to upload single page ,i dont want to install any app) |
well the default documentroot on most apache servers is /var/www/html but you've not provided any information about how the system is configured, and whatever form of hosting you've purchased could do things in all manner of different ways. Safest bet is to ask them / read the docs they must have already written for people in your situation.
|
Hey,
As Chris rightly mentioned, the path is /var/www/html. Most providers have public_html, document root and www as options when you click on File Manager in Cpanel Interface (I am assuming this as Cpanel is defacto for linux hosting. Now, all you need to do is remove the default page that came in your hosting panel and upload your custom index.html page. |
Hi,
Please check that your website is well configured as and save in proper location of document root i.e. /var/www/html/ and also see the IP address metioned in configuration file. |
Hi,
Just to add, be careful with case in file names. Linux is case sensitive. index.html and Index.html are both different files. This is common mistake for : Quote:
|
Quote:
|
@hemanthm17
we need to know the action that you were trying to perform post which you got this error. By just knowing the error, its difficult to help you. |
This really does sound like a question for your hosting provider.
You don't need to know what the typical Linux server configuration may happen to be. You need to know how your hosting provider has configured its Linux server. You should get better answers by contacting them or by checking their knowledge base. |
All times are GMT -5. The time now is 05:21 AM. |