Silver132016-07-08 06:58:19
Apache HTTP Server
Silver13, 2016-07-08 06:58:19

Apache 2.4 only opens Default page?

Apache 2.4 on debian 8, virtual host added, when opened by domain name on localhost it opens without problems, when trying to open from external ip by domain name, apache default page opens, external ip is added to hosts, rights to the /var/www/ folder example.com is set to www-data, what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Silver13, 2016-07-08

Solved like this: config /etc/apache2/sites-available/example.com.conf
first line VirtualHost *:80 ---> VirtualHost example.com:80
then clear the cache in the browser and OK

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question