Не могу убрать дефолтную страницу Apache2 Ubuntu Default Page
Установил wordpress-5.3-ru_RU на базе сервера Apache2.
Но не могу убрать эту страницу.

прочитал два ответа, на примерно похожий вопрос. тут и тут
Поначалу я вообще не понял что происходит, после понял но было уже поздно ;_; ,прошло не меньше недели после установки и я даже забыл где лежат установленные файлы (с которыми машина работает). А также где лежит главная страница вордпресса, я также не знаю.
Отключение тестовой страницы (welcome page) в Apache
При установке Apache сайтом по умолчанию (при входе на IP адрес сервера) является тестовая страница.

Есть несколько способов ее отключить
Удаление/переименование страницы приветствия
Для того чтобы отключить эту страницу, мы должны переименовать файл /etc/httpd/conf.d/welcome.conf или удалить его, если не нужен.
и перезапустить apache
Разрешить индексы в Apache
Без индекса будет отображаться стандартная страница приветствия Apache, если не изменить /etc/httpd/conf.d/welcome.conf, чтобы разрешить индексы. Отредактируем /etc/httpd/conf.d/welcome.conf, чтобы разрешить индексы.
и заменяем весь текст на один из указанных ниже
Добавить страницу по умолчанию
Так же возможно создать страницу по умолчанию, тогда вместо тестовой страницы будет отображаться наш HTML файл
Why am I getting the Apache2 Ubuntu Default Page instead of my own index.html page?
I have an Ubuntu 14.10 computer that is used for local website testing, it is not serving to the internet. On it, I have seven websites set up. However, when I access two of the seven, I get the Apache2 Ubuntu Default Page instead of my own index page.
As far as I can tell, I set up all seven using the exact same process, so I don’t know what these two are missing. Also, in my Apache logs directory, I have two log files, error and access for each of the two misbehaving sites, but all of them are empty. When I restart the apache2 service, there are no errors. I have retraced my steps multiple times and I can not see any difference between the working sites and the non working sites.
What options do I have for diagnosing this problem? Can I force more verbose error logs somehow? Is there another log somewhere that I can reference?
Cannot remove Apache2 Ubuntu Default Page
So symlink successfully removed from sites-enabled directory. But i still can see that test page. What’s wrong? Shouldn’t i see an error instead?
![]()
1 Answer 1
The Apache code ( httpd.h file , in particular) sets a default location of documents, which can be overwritten by the DocumentRoot directive. Depending on the installation, the Apache source code includes lines like the following: