Answer the question
In order to leave comments, you need to log in
Where to change default.html?
I created a subdomain aaa.site.com
and now I have these files:
When I open the site in the browser aaa.site.com
, it loads default.html
, but where is it indicated?! I need to change this file to .php file. Tell me where can I do it?
p.s. Correct the question tag if it's not correct.
Answer the question
In order to leave comments, you need to log in
Specify in the .htaccess file:
DirectoryIndex index.php
Where index.php is the index file of the site that opens first when accessing the site (set which one you need)
Usually index.html is set as the default index page
P/S: if the DirectoryIndex directive is already present in the .htaccess file then just change the file name to the one you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question