Help me point domain to my droplet

I need help to connect my domain to my droplet:

I have installed apache on my ubuntu 14.04.2 droplet. Its running fine on

I have a domain pointed to, and I made the change 12 hours ago

I have followed this tutorial without any luck:

In /etc/apache2/sites-enabled I have the following:

<VirtualHost *:80> ServerAdmin ServerName ServerAlias DocumentRoot /var/www/skovstedconsulting/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>

and in /var/www/skovstedconsulting/html i have a file index.html

Now I should see my index.html when looking at, but I can’t load the page.

Any help or hints would be very much appreciated.

Best regards Kresten

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi @krestensb

I can see that your domain is using the DigitalOcean name servers, so far so good, but it doesn’t seem like you’ve created A record pointing to your droplet’s IP address.

Go to and add your domain, and create an A record for @ pointing to your droplet’s IP and then create a CNAME record for www pointing to

Your Apache configuration looks correct, so let’s ignore that until the DNS is done.

For a more detailed DNS tutorial with a few pictures:

I had the same problem and @hansen solution worked for me.

I do have the same problem with our droplet (Ubuntu 16.04 LAMP), and the solutions above didn’t work…

I’ve created the configs following the example above in /etc/apache2/sites-available/*.conf and did a2ensite in both of them, but still with no luck.

The DNS records are correctly laid out, but the browser still returns “Can’t reach this page”…

What could I be doing wrong?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel