Step 1: Digital Ocean Account
First things first, log in to your Digital Ocean account. If you're new, a quick click here will take you to the account creation page.
Step 2: Create Your Ghost Droplet
Click on "Create" and choose "Droplets" in the Digital Ocean dashboard.
Select the region closest to you or your target audience.
In the "Choose an Image" section, head to the "Marketplace" and search for "Ghost." Select the first Ghost image.
Step 3: Configure Your Droplet
Scroll down to the CPU options, pick a plan (start with the minimum for now).
Set a password for your Droplet.
Click "Create Droplet" and give it some time to cook.
Step 4: Find Your Droplet
Navigate to your project in the "Projects" section, and under the "Resources" tab, you'll find your freshly baked Droplet.
Step 5: DNS Configuration
Copy the IP address of your Droplet.
Log in to your domain registrar (e.g., Name.com) and go to the "Manage DNS Records" page.
Create an A record with the hostname '@' for the main domain or your desired subdomain. Paste the Droplet's IP address and click "Create" or "Add Record."
It might take some time for the changes to propagate.
Step 6: SSH into Your Droplet
- Open your terminal or command prompt.
- Type
ssh root@example.com
(replace with your Droplet's Domain) and enter the password when prompted (it won't show, but it's there).
Step 7: Ghost Installation
The magic begins! Ghost's automatic installation will kick in. It will ask to press enter when you are ready to add the details, press enter and it will do some checking and will start to install ghost’s latest version.
It will ask for the website url for you should the url which you assigned for your domain and ghost will take of the ssl and everything for the setup.
Step 8: Create Your First Root Account
- After installation, go to your domain.
- Create your first root account by clicking "Create Account." If it seems to spin endlessly, don't worry—just refresh, and your account will be there.
Your Ghost Website Is Ready!
Congratulations, your Ghost CMS is up and running! Now you're all set to start crafting your content on this sleek and user-friendly platform. Happy blogging! 👻🚀