How to Install Ghost on GoDaddy
Once up and running, GoDaddy works great, but it will take a few days to get your VPS up and running, so if you are looking for something more immediate you may want to take a look at one of our other hosting options listed in the right column.
- Head over to GoDaddy.com and signup for their VPS service (in their menu go to Products > Hosting and Servers > VPS)
- Select what kind of VPS you want. Keep as CentOS and select your size, we did Economy. 
- Go through the checkout to complete the order.
- Go to "My Account" and then "Servers". Wait for the server to change from "Pending" to "New Account" (this might take a few hours) 
- Hit "Launch"
- Fill in the details you want for your server and username and hit continue. 
- Wait again for an email saying that your server has been setup.
- Once you get this email, it will have the details to log into your server. So in Terminal/Putty ssh into the server using the username and details you setup in step 6. If your not sure what they are, just go back into your account, hit "Launch" again and you will see your username. ssh [username]@[ip]
Change to the super user
- Update the server
sudo yum update sudo yum upgrade yum groupinstall "Development Tools"
- Download and Install Node.js
curl -sL https://rpm.nodesource.com/setup | bash - yum install -y nodejs
- Install Ghost
cd /var/www/ curl -L -O https://ghost.org/zip/ghost-latest.zip unzip -d ghost ghost-latest.zip
cd ghost sudo npm install --production
(If you get npm command not found, do
sudo /usr/local/bin/npm start
) - Configure Ghost
cp config.example.js config.js sudo vi config.js
In the "Production" section, change the following:
host: '127.0.0.1',
to
host: '0.0.0.0',
- Create Ghost User
useradd ghost chown -R ghost:ghost /var/www/ghost/
- Kill Apache
apachectl stop yum erase httpd
- Log into Ghost User
su - ghost cd /var/www/ghost/
- Start Ghost
npm start --production
Browse to your IP address with
:2368
at the end (ex. 123.456.78.901:2368) in a browser and your up!
su
Proxy from Port 80 and Keep Ghost Running
There you have it, Node.js is installed, Ghost files are located in /var/www/ghost
, and Ghost has been started. You can keep Ghost the way it is currently setup if using for a development environment and do not mind adding :2368 to the end of your url. If you are looking for more of a production setup, we would highly recommend you check out the following two articles to help get your Ghost blog ready: