Just setup WordPress on my droplet server, now my site is down, please help?

Hi there everyone, I connected to my droplet server via SSH and followed all the steps in this guide:

Everything worked great, and I was completely successful in my attempt. I entered my site URL in google chrome and got the wordpress select-a-language setup, exactly as shown in the guide.

I then shut down my PC and went to bed. When I woke up, I tried entering my site URL from a different computer to finish the wordpress setup and suddenly my site was down. I got the following error: “This site can’t be reached’s server DNS address could not be found. Try running Windows Network Diagnostics. DNS_PROBE_FINISHED_NXDOMAIN”

I did absolutely nothing at all between that timeframe, didn’t touch my server, didn’t even use Putty or the droplet in any way. I tried again a few days later from the PC I did the setup on and still the site was down.

I tried following Step 5 in the guide over again, ran “curl -s” and got new secure values. Copied and pasted them into the wp-config.php file exactly as I did last time, and still nothing.

If anyone can please help on this let me know. It would be really deeply appreciated as I’m getting quite frustrated by this!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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


Please change this line.


Then you should add your domain in instead.


Notice in my second example the “#” sign is also removed. That is important to ensure the line is not commented out. After you make the edit, restart Apache.

service apache2 restart

Hope this gets things working. Thanks.

unfortunately it did not work still, but thank you so much for your efforts. if you have any other suggestions i’d be willing to try them.


Sorry, I’m not to familiar with Apache. I did some research and this should get things working. In 000-default.conf, replace ServerName with the following.


Then restart Apache.

service apache2 restart

Hopefully this will get things working for you.

You’re welcome. Glad I could help.

You can cat “000-default.conf”. Also have you checked your DNS records setup?



I cannot access your domain at all. This looks to be a DNS issue. Could you please verify your records? When I ping your domain, it does not come back with an IP address. I can also help you further if you post your DNS records configuration here.

dell@alexstine1 ~
$ ping
Ping request could not find host Please check the name and try again.

Could you also cat your .htaccess file and /etc/apache/sites-available/ file? I’d like to see those configurations as well.



Could you please paste your wp-config.php here so I can have a look? Go ahead and star * out the DB information and other security information so it’s not public here on the forums.

We’ll figure it out. Thanks.

This comment has been deleted


Please add these define statements to wp-config.php.


Replace with your domain name. Hope it helps, thanks.

UPDATE: I tried going through the steps in the guide again and got it (kind of) working, when I enter my server IP address I can access the wordpress setup just fine (just as i did before) but when I enter the url i still get the page not found error. When I first followed this guide I got the wordpress setup when I entered the domain.