I sent a ticket for this, but I promise to post the solution. I re-entered the a2ensite command and got the message site coolaberate.com is already enabled.
NameVirtualHost *:80 file are OK? <VirtualHost *:80> Server Admin webmaster@mysite.com Server Name mysite.com Server Alias www.mysite.com
DocumentRoot /var/www/mysite.com/public_html/
error logs /var/www/mysite/logs/error.log
#Possible Values include: debug, info, notice, warn, error, crit, #alert, emerg. Log Leve warn
Custom Log /var/www/mysite/logs/access.log combined </VirtualHost>
I can’t see my content with my IP address - I get a 404 message and when I enter my domain, I get a server error
I was able to see my content before I set up Virtual server using my IP address
Any suggestions?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Try replacing it with the following and then restarting/reloading Apache:
<pre><VirtualHost *:80> ServerName mysite.com ServerAlias www.mysite.com
DocumentRoot /var/www/mysite.com/public_html
ErrorLog /var/www/mysite/logs/error.log CustomLog /var/www/mysite/logs/access.log combined </VirtualHost></pre>. <br> <br>Does that fix it?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.