Looking to build a new website for your business or a personal blog? You’ve struck gold. Let’s get started.
Reasons Why You Need a Website
If you’ve a business then it’s time for you to expand your empire. Over 2.4 billion people use the internet and something as simple as a website could help your business tap into that huge potential. With a wider market your products sell better. You’re no longer limited to your open hours, get more sales throughout the day. Put your ingenuity in the driving seat and do business the way you like it.
Ever wanted to start a business? Well, now is the time and you can get it running pretty quick in the virtual space with minimum investment.
A place to showcase all your awesome projects would be nice. A blog, if you want to share your thoughts, ideas and stories with the world. And it’ll be the icing on the cake if your website brings in some passive income at the end of the day.
Ready for it?
Get your Domain Registered
First of all , you need a domain name , preferably a dot-com one( others will also work but it’s the most popular). Choose one that is short and easy to remember (..and easy to spell :p). This will be your “brand” online , you know some brand names speak for themselves , so keep that in mind while making a choice.
Once you’re pretty sure about the domain name, see if it’s available and get it registered. There are like a thousand domain registrars online, we recommend Name Cheap and GoDaddy , or if you’ve a favourite go with it.
Find the right Web Host
The next step is to find a web-host , a place to store and serve your actual webpage and data. Like with the domain registrars it’s hard to make a decision because of the endless options available. The reason why this is very important is that your choice directly reflects the overall performance of your website (we all hate those slow websites!).
We’ll be using a DigitalOcean Droplet here. In case you’re wondering, DigitalOcean calls its Virtual Private Servers Droplets. They made it real simple to spin up a VPS, takes less than a minute.
So sign up for an account on DigitalOcean ( use the above link to get a credit of $10 ). They’ll ask for your credit/debit card info, but you won’t be charged anything now. It’s just for the verification purpose. Once that’s complete you’re ready to deploy your first droplet.
Note: One thing that you’ll often come across while finding a webhost is to choose between a Shared Host or a VPS Host(Virtual Private Server). Don’t worry about those technical terms now it’s really simple. In a shared hosting plan your website will be hosted along with other websites on the same server and all the resources are shared among them. Whereas in a VPS hosting plan your website will be hosted on a virtual server with dedicated resources depending on your plan. The main difference here is that you don’t have to share your resources with any other websites on a VPS. Consequently your website will perform better and any load on other websites hosted on the same server won’t affect your site. Learn more.
Creating a Droplet
Once you’re through the sign-up process , click on the Create Droplet button.
Choose One-Click Apps.
Now select WordPress on 16.04. You can also try** Ghost** (one of my personal favourites…) if all you need is a publishing platform.
Choose a plan according to your requirements. The $5 plan is enough for a wordpress site serving up to 40k visits/month. One of the best things about hosting your website in the cloud is that you can scale your server effortlessly as your website grows.
Select a region to deploy your Droplet. Choose the one closest to your targeted users for better performance.
Now for the additional options I’d recommend the Backup option. Although it’ll cost you 20% more on your monthly bill it’s worth the price. Things could go wrong and sometimes people do incredibly stupid things.
If you’ve an SSH key add that. How-to?
Windows users try this. You can skip this part if you want and instead use the password that’ll be emailed to you. For the most part you won’t have to use this, thanks to those one-click apps.
Finally give your droplet a name and hit Create.
Your Droplet will be up and running in a minute or so.
Point the Domain to our Droplet
Now go to the Networking tab on DigitalOcean and click on** Domains**.
Type in your domain name and select your Droplet’s IP from the dropdown menu. Hit Create Record.
Now click on **Add Record **and add another A record. Type in www in the first box and your Droplet’s IP in the second. Click Create.
Follow this tutorial, which includes instructions for most of the popular domain registrars , to add DigitalOcean’s nameservers. It might take some time for the DNS to propagate.
Setting Up WordPress
Go to your Droplet’s IP address. You’ll see this page.
Don’t worry It’s just a security measure and all you’ve to do is to log into your Droplet.
If you’re on Mac or Linux , open up a Terminal and type in
Windows users have to use an application like Putty. It’ll ask for a password if an SSH key is not provided, you can find that in your inbox. Once logged in it’ll automatically enable the wordpress installation.
Now goto “your-droplets-ip/wp-admin” and go through the set up process.
The setup process will take you to the WordPress Dashboard. Now goto settings and change your site’s URL to your domain and save changes.
And with that your website must be live on that domain.
Subscribe to Code Rewritten
Get the latest posts delivered right to your inbox