Step One — Basic Server Setup
Once your server is up and running, there are some standard procedures that you should complete in order to build a good foundation. We call this our initial server setup.

You should go through this guide before continuing, especially steps 1-4. This will show you how to get logged in, create a regular user account, and give that user administrative privileges.

Step Two — Install LAMP
After you get your account created and configured, we can move on to the actual web server software.

One of the most popular ways to serve content on the internet is through a set of components known as the “LAMP” stack. This is an acronym that stands for a Linux operating system, the Apache web server, a MySQL database, and a PHP script processor. These components work together to allow you to serve a dynamic website or application.

You can learn how to install a LAMP stack on Ubuntu 14.04 by following this guide. It may look complicated, but follow each step carefully and you should have it up and running in no time.

Step Three — Set Up your Domain Name
Once you have your LAMP stack installed, your server is ready to start serving web content. However, right now, you can only access it using the server’s public IP address.

We can set up a domain name (like example.com) so that visitors can access our site easier. You’ll need to purchase your desired domain name from a domain name registrar, and then come back here to continue.

When you have a domain name, you can follow this guide to learn how to point your domain name to your server. The changes you make may take awhile to propagate, but you can move on to the next step while this happens.

Step Four — Move your Files with SFTP
After you have installed and configured your server software, and you have a domain name set up pointed to your server, you can copy your website files to your server.

The best way to do this is probably by using an SFTP client. SFTP is a protocol that leverages the SSH protocol in order to securely transfer files to and from remote computers. What all of this means is that you can use it to transfer your files in a secure fashion.

There are many SFTP client programs and FTP clients with SFTP capabilities. One option is to connect to your remote server using the sftp command line utility like this guide shows.

If you’d rather use a graphical client, there are many options. One popular choice is Filezilla. You can follow this guide to learn how to use Filezilla with SFTP.

You want to place your files into a directory called the “document root” of the server. For Ubuntu 14.04, the document root is at /var/www/html by default. Place your files there.

When you are finished (provided that your domain name has been updated around the world), you should be able to access your site in your web browser.

Leave a Reply

Your email address will not be published. Required fields are marked *