New account creation in cPanel is pretty hassle free. But, things go for a toss when the mistaken website page shows up.
Usually, the wrong page shows up due to wrong realm configuration in cPanel.
And, the website owners often contact us to fix their website as part of our Server Administration Business.
Today, we’ll discover on how to change default index page in cPanel.
Default index page on new chronicle
Before finding a tie for the problem, let’s have a quick look on how the default page shows up in a website.
In cPanel, upon new history start, server automatically follows a initiate of registers and folders from the skeleton folder to user’s home index. This would also include a default index.html file in the public_html folder of the website. By default, this sheet shown in when you access the new website from a browser.
Usually, consumers upload materials to their website folder abusing FTP or cPanel’s File Manager. And, when the domain has incorrect creates, wrong indicator page shows up.
Reasons for showing wrong indicator page
In many cases, even after uploading the website material to the public_html folder of the website, wrong sheet shows up. Let’s take a look at the various reasons for this.
1. Wrong. htaccess enterings
By default, the following rule set in the. htaccess register of the website controls the indicator page.
DirectoryIndex index.html index.php
The. htaccess register is commonly predict from left to right and select the first accessible page. For instance, in this case, the web server will look for the index.html file, if it is missing, it will look for the index.php datum etc.
However, when the newly designed page has a different mention, say home.html, it would never is an indication as the default page.
2. Incorrect datum word or road
Again, another reason for improper indicator page testifying up on website happens when you forget to overwrite index.php or index.html file during file upload. As a decision, the default index page still remains on website and that shows up.
The overwrite option in cPanel’s File Manager glances as prove 😛 TAGEND
Similarly, enters in servers are speciman sensitive. If the index register has a name INdex.php, it do not parallel index.php enter and reactions in wrong sheet more. From our experience in managing servers, our Dedicated Engineers often insure patrons uploading enter to the wrong directory. This again motives default indicator page errors on the website.
3. Wrong IP address trains for realm
Often wrong IP address in the web server configuration too form problems with default index page. In these cases, domain’s DNS would take it to the correct server. But, inside Apache, it might be pointing to wrong IP. As a solution, it goes to show the default value cPanel indicator page.
How we positioned proper indicator page for website
We only assured the various reasons for the indicator page difficulty on the website. Now, let’s see how our Support Engineers choose it.
1. Verify discipline IP
We begin investigation by checking whether the website resolves properly to the server. Then, we confirm the IP address set in the Apache configuration file httpd.conf
In case of inconsistency, we revise the configuration file and specified it to the correct IP address.
2. Ensure indicator datum exists
When the IP address decideds are correct, we check the presence of index file in the document root of the website. For instance, in cPanel, it should be present in the public_html folder.
When useds upload enters to the sub folders, we emulate the documents to the correct folder. Additionally, we mounted the compensate name for the indicator register, specified suitable dispensations, etc.
3. Modify. htaccess
In some occurrences, we may need to modify the. htaccess folder to point to the compensate indicator file.
If the newly designed home page of the website is welcome.html, we defined the public_html directory. htaccess entry as 😛 TAGEND DirectoryIndex welcome.html
To edit the. htaccess, we either use the command line editor in SSH or cPanel’s File Manager. The edit sheet in File Manager watches as shown.
That lodges the problem and correct file shows up as the default index page of the website.
[ Trouble seeing compensate page on your website? We can make it driving .]
In our enormous server administration experience, wrong index page shows up due to many reasons like missing records, incorrect website regulates, etc. Today, we received the top reasons for index page lapses and how to change default index page in cPanel.
Read more: bobcares.com