Now we're ready to configure your Ghost installation with 2 critical elements: the domain name and your mail server.
Simply open Cyberduck, connect to your server, navigate to the ghost folder and select "config.js" and choose to edit it with your text editor.
Now you want to look in this file for an area that starts with "production" (this means the live version that is on the server).
Right below the production line, you'll see a dummy blog URL that looks like this:
url: '//my-ghost-blog.com',
Change that to your domain name, then move down to the mail line and you'll need to add these lines in it and fill in the blanks so to speak with your values so that it looks like mine above (I've hidden my username and password):
To save the file, hit CMD+S on a mac. Now close the window.
Now you need to open up your terminal (or console). With the terminal, you'll need to SSH into your server, enter your password so that the screen looks like this:
Then type
service ghost restart
And Ghost will restart with your changes.
You can now visit your domain and find Ghost waiting (go to the next section).