How To Install Ghost On 1&1 Hosting

  1. Go to and click on Servers section.
  2. Select 1&1 Virtual Servers
  3. Select the Virtual server size you want. I selected the smallest size.
  4. Once you have finished checkout you will get an email with your username and password

  5. Once you receive the email from 1&1 you can login at the 1&1 sign in page with your customer ID and the password you created during checkout

  6. Once you are logged into the Control Panel click on Server Re-image

    Install Ghost 1 and 1
  7. Set the root password for your new operating system and select CentOS 6 minimal system (64Bit). Then click Next. Install Ghost 1 and 1
  8. Click Initialize to confirm settings
  9. 1&1 will send you an email once your VPS is setup and then you can log back into the 1&1 Control Panel and click on server Access Data. Install Ghost 1 and 1
  10. On the Server Data page, note the password under the Initial Password (this is not your 1&1 account password but the password you created for the root account in CentOS) and grab the Server name from the Technical Data section. Now you can ssh into your server with the following command:
    ssh root@[1&1 provided server host name]
  11. Update the CentOS operating system
    su -c "yum update"
  12. Next disable Apache
    chkconfig --level 12345 httpd off
  13. Download and install CentOS Development Tools
    yum groupinstall "Development Tools"
  14. Now download and install node.js
    curl -sL | bash -
    yum install -y nodejs
  15. Download and install Ghost
    cd /var/www/
    curl -L -O
    unzip -d ghost [Name-of-Ghost-zip].zip
    cd ghost/
    npm install --production
    cp config.example.js config.js
    sudo vi config.js
  16. In your 1&1 Control Panel under Server Data grab the IP address and change all occurrences of the following:
    host: '',
    change to

    host: '[the IP you were provided]',
  17. Create Ghost User
    useradd ghost
    chown -R ghost:ghost /var/www/ghost/
  18. Switch to Ghost User
    su - ghost
    cd /var/www/ghost/
  19. Start Ghost
    npm start --production
    Browse to http://url_they_provided:2368

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 if you do not mind adding :2368 to the end of your url, but we would highly recommend you check out the following two articles to help get your Ghost blog fully ready:

  • How to Proxy Port 80 to 2368 for Ghost with Nginx

  • Keep Ghost Running with PM2
  • Next Steps:

    Learn Ghost from the Ground Up
    Head to "Ghost for Beginners" to learn everything you need to know about learning and customizing Ghost

    Find the Perfect Ghost Theme
    Go to our Ghost themes section of this site to browse all of your Ghost theme options in one place.