swoly Posted August 20, 2017 Share Posted August 20, 2017 Cannot get my website to display my main page (login.php) i dont have an index.html in my htdoc, but i do have all my others that i want to display (login.php, form.php and form.css) i have all these files in my htdocs but when i goto my site it just displays the "Congratulations! Your free hosting account has been activated. You can now use FTP or the file manager in your cPanel to upload your site." im trying to get it to display the main page of the php files i want Quote Link to comment Share on other sites More sharing options...
BSthuliwal Posted August 21, 2017 Share Posted August 21, 2017 first you had to delete index2.html file then it will work. but for dislaying pages you need to create a index page to provide links to other pages otherwise your site will be displayed as folders and files in browser. Quote Link to comment Share on other sites More sharing options...
Arcenas090 Posted July 22, 2018 Share Posted July 22, 2018 On 8/21/2017 at 3:12 AM, swoly said: Cannot get my website to display my main page (login.php) i dont have an index.html in my htdoc, but i do have all my others that i want to display (login.php, form.php and form.css) i have all these files in my htdocs but when i goto my site it just displays the "Congratulations! Your free hosting account has been activated. You can now use FTP or the file manager in your cPanel to upload your site." im trying to get it to display the main page of the php files i want Hi you can create a .htaccess code to make a certain file like myfile56.html to be the default page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.