F
F
fedorchuk2016-06-12 08:35:55
Apache HTTP Server
fedorchuk, 2016-06-12 08:35:55

I can't set up a web server, what is the problem?

There is a server on Amazon.
Freedns.afraid has A records with public IP
Apache running.
There is a virtual host and added "sudo a2ensite site"
The folder with the files var/www/site is there, the rights to the www-data folder

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Azazel PW, 2016-06-12
@azazelpw

Check configs
DocumentRoot "/var/www/site"
ServerName site.com
ServerAlias ​​site.com
AllowOverride All
RewriteEngine On
Options Indexes FollowSymlinks
ErrorLog /var/www/site-error.log
LogLevel error
/etc/hosts/
Do at least a ping, information only about the problem, no data to parse.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question