User:Cyrusty/Web Server

From Organic Design
< User:Cyrusty
Revision as of 19:58, 21 April 2019 by Cyrusty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pointing Domain to VPS

On your Linode go to DNS Manager Tab then add a Zone and enter the following requirements


Email address - YOUR_EMAIL

A/AAAA Records Add a new A/AAAA record and put in Domain name and the ip address of your VPS.

On Domain

On the domain website go to DNS settings and change the name server to this and put the following

On your VPS

sudo apt-get update
sudo apt-get install apache2

(check the VPS IP address in the address bar to see if apache web server has worked correctly)

  • Helpful Things to Know
sudo nano /etc/apache2/apache2.conf

Scroll down to

<Directory /var/www/WEBSITE/INDEX/>

Options Indexes FollowSymLinks

AllowOverride None

Require all granted


Also nano into the below and update the line DocumentRoot /var/www/WEBSITE/INDEX to the same directory used above

sudo nano /etc/apache2/sites-available/000-default.conf

Then save it and enter the following.

sudo service apache2 restart