Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
Thanks for the tutorial! I have WordPress running on Nginx now but when I access my site via the IP I just get a Welcome to nginx message saying that further configuration is required. Is that supposed to happen or should it go to my site? Accessing the site via the domain works fine though. I also got phpMyAdmin working by using sudo ln -s /usr/share/phpmyadmin/ /var/www
@medina592002: If you want to access your website via the IP address as well, add it to your server block: <pre>server_name 1.2.3.4 yourdomain.com;</pre> where <code>1.2.3.4</code> is your droplet’s IP address. I personally do not recommend doing it as it affects your site’s Google ranking.
Thanks for the quick reply! I will keep the IP address out of my server block.
Also, after removing Apache I see apache2 deinstall libapache2-mod-php5 deinstall after running dpkg --get-selections | grep apache. Is that okay?
Thanks for your help!
@wahwooh: Looks like php5-fpm is not running. Check nginx’s error log for more details.
Thanks! wonderful article! I copy/pasted everything and ran it, and things worked great! only thing, i most certainly do not have an “httpd.conf” in my system. weird. i looked everywhere.
Are there any extra steps required for an SSL site? Current Wordpress with SSL setup. Would I have to disable SSL on shared hosting then do SSL on VPS after its all migrated?
@JB Right. While it doesn’t deal with SSL either, if you’re moving from shared hosting, this tutorial might be more helpful:
Thanks, this was written very well and easy to follow. I have some problems with images on subdomains, as I’m running a multi-site Wordpress, but I see there are other tutorials that cover that.
Thanks for the super article.
One question: what do I do with my .htaccess file, and what about wordpress plugins that alter the .htaccess file?