Question

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: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04

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 cultureontrial.com’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 https://api.wordpress.org/secret-key/1.1/salt/” 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


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.

Hello,

Please change this line.

#ServerName www.example.com

Then you should add your domain in instead.

ServerName www.example.com

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.

Hello,

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.

ServerName example.com
ServerAlias www.example.com

Then restart Apache.

service apache2 restart

Hopefully this will get things working for you.

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

Try DigitalOcean for free

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

Sign up

Featured on Community

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