Answer the question
In order to leave comments, you need to log in
Local site on Ubuntu?
Hello!
Please tell me what is the problem. Everything was installed according to the instructions. Apache works. The site is not displayed.
1) In the /etc/apache2/sites-available directory, I created a sudo gedit mysite file with the contents (removed <> in VirualHost otherwise the text was not shown in my question):
VirtualHost *:80
ServerName mysite
DocumentRoot /home/USERNAME/sites/www/mysite/
/VirtualHost
Answer the question
In order to leave comments, you need to log in
1. you need to check if the site profile has appeared at /etc/apache2/sites-enabled/@mysite
2. check the permissions on this file
3. pay attention to what Apache says when starting the service, check the logs at /var/logs/ apache2/* . Especially error messages.
4. Try to connect to 127.0.0.1 . Then localhost
Thank you all guys, while I'm trying - nothing comes out)) I'll unsubscribe how I'll do it. If there are any instructions - simple and straight on points 1,2,3 - I will be grateful
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question