houhouvk Posted June 10, 2018 Report Share Posted June 10, 2018 When I open the homepage, how do I remove the index.html behind the domain name? Need detailed steps Quote Link to comment Share on other sites More sharing options...
Brian Posted June 11, 2018 Report Share Posted June 11, 2018 Hi! Your site would need an index file to display your content, otherwise it will display our default splash page (index.hawkhost) as a placeholder. If you need help uploading your files or modifying your account you'll want to open a ticket with our helpdesk team. That can be done through https://my.hawkhost.com/submitticket.php Quote Link to comment Share on other sites More sharing options...
tgonhawk1 Posted June 12, 2018 Report Share Posted June 12, 2018 Let's say the domain in question is example.com. As Brian said, you need to have an index page such as index.html (you can have other suffixes, as appropriate - .shtml, .php, etc.). This should go in your public_html directory. Then if a visitor simply goes to http://example.com, he will see that address in his browser, while what is displayed is the contents of index.html. You don't have to do anything to remove it. A visitor can also explicitly open http://example.com/index.html in which case that full address will appear in the browser address bar. If you want to make that appear as just http://example.com as well, you can, since the main page for HawkHost's website does exactly that. If you try to open https://hawkhost.com/index.php what you see is just https://hawkhost.com (Index.html gives a 404 error in that instance.) For some htaccess code to accomplish that, see this post:https://florianjacob.de/forward_indexhtml_to_dir_with_nginx_and_apache.html (among many others of simiar bent) NOTE: adding rewrite rules is tricky business, and can easily mess things up. Experiment in a subdirectory before adding it to your main home directory. 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.
Note: Your post will require moderator approval before it will be visible.