How to Set Up PBN Sites on Digital Ocean with Rocket IPs
Requirements:
1) A Digital Ocean Account / Droplet Set up
2) A Rocket IPs account
3) nginx installed. Tutorial available at http://trafficrunners.net > SEOCasts
pw: dra
Digital Ocean/Rocket IPs Workflow
Purchase Domain with Registrar
Login to Rocket IPs
1) Add domain to Rocket IPs
2) Randomize IP
3) Enter Digital Ocean Server IP
4) Randomize Custom Header Server
5) Write down custom Nameserver IPs
Go Back to Domain Registrar
1) Edit DNS Settings
2) We have two options: using ns1.rocketips.com OR
3) Create Custom Nameservers provided by Rocket IPs. It will look like:
ns1.exampledomain.com (209.148.89.192), ns2.exampledomain.com (178.32.171.215)
To create Glue Records Godaddy Registered Domains (other registrars will be similar)
1) Click to Manage Domains, click on domain
2)In the Settings tab, under Host Names, click Manage
3) In the pop up click Add Hostname
4) Input custom namesevers and IPs given by Rocket IPs
Digital Ocean Server
1) Open Terminal
2) Log on to your server using your Digital Ocean IP: ssh user@100.100.200.190
3) Make a new directory for the website: sudo mkdir -p /var/www/example.com/html
4) Now transfer ownership to our regular user: sudo chown -R $USER:$USER /var/www/example.com/html
5) Modify permissions: sudo chmod -R 755 /var/www
Create Server Blocks
1) Copy over the default server block config file: sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/example.com
2) Open up the copied config file: sudo nano /etc/nginx/sites-available/example.com
3) Modify config file. Three things we have to edit:
a. Remove default_server references
b. point root to correct directory: root/var/www/test.com/html
c. server_name test.com www.test.com
Should look like this:
server {
listen 80;
listen [::]:80;
root /var/www/test.com/html;
index index.html index.htm;
server_name test.com www.test.com;
location / {
try_files $uri $uri/ =404;
}
}
4) Exit (control-x), save modifications
Enable Server Blocks and Restart Nginx
1) Create symbolic links during start-up: sudo ln -s /etc/nginx/sites-available/test.com /etc/nginx/sites-enabled/
2) Restart server: sudo service nginx restart
3) If ngnix fails to restart we fucked something up. Probably syntax in the config file.
4) To troubleshoot: check syntax: sudo nginx -t
Upload Site Files through FileZilla, FTP, or SSH
Articles
Troubleshooting Glue on HG Reseller: http://support.hostgator.com/articles/hosting-guide/lets-get-started/dns-name-servers/dns-glue