U
U
Us592020-08-15 17:43:56
htaccess
Us59, 2020-08-15 17:43:56

Where to change default.html?

I created a subdomain aaa.site.comand now I have these files:
5f37f3f0eddf1971570362.png

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

2 answer(s)
S
Spartak (Web-StyleStudio), 2020-08-16
@Us59

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

D
Dmitry, 2020-08-15
@q2digger

>> but where is it stated?!
this is specified in the settings of the web server used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question