Looking to do your own web hosting server? How about hosting websites from your own computer at home? When we think about hosting websites, we immediately think of the mainstream professional hosting companies.
But a number of people are looking to do their own hosting but are unsure how the process works and what they need to do. That’s fine, most people are unsure at first. Luckily, this article contains a simple explanation of the first steps you will need to take to get it done.
Steps to do your own web hosting server
#1 – To set up your own web hosting server, first, you will need to make sure you can actually host. This means that you have a computer running 24/7. Not all internet providers allow you to host a website.
If you are allowed, great! If not, you may need to upgrade your plan or simply switch providers. The most basic of computers will be suitable for hosting the website, so no worries there. Remember, when doing your own web hosting, your website is only online when that computer is.
#2 – The next step in setting up your own web hosting server is building the website. We are going to assume that you have already done this, and that’s why you are looking at how to host it. Your website’s source code must be saved as a PHP file on your computer and must be easily accessible to you.
Next, you will want to download something called MAMP. This is free to use. Then website hosting software that must be installed on the computer you are hosting from.
Once MAMP is installed, you should copy and paste your PHP source code file into MAMP. Utilize the preferences features to see where to correctly place the code. Utilize the preferences, click on the webserver button, click open, and then paste the file in.
Click okay when prompted to confirm your settings. It may sound like a lot of steps there, but it only takes about 2 minutes.
#3 – When you set up your own web hosting server you can launch your own sites at any time. This is done by clicking the start server button inside MAMP. Your site will be accessible by entering your public IP address.
Now, this is not an ideal address to host a website from. It will make it impossible for anyone to find your website unless they know your IP address. Which they certainly won’t.
It also means it can change often, making it wildly inconvenient. This means that you will need to register your chosen web address online in the public domain. There are so many websites out there that will register your name for a small fee.
Once you have registered your chosen address, you can point your domain name to your IP address that is hosting your site. You can name your site whatever you like, but shorter names are generally better.
#4 – Keeping your new website secure is important when doing your own web hosting. The best way to do this is to make sure the hosting computer does nothing else.
It should be password protected, as should your access to your MAMP and the relevant files. With a small site, you are unlikely to come under attack from people trying to bring the site down, so it probably isn’t much of a concern.
Regardless, it is good practice to make sure you keep a backup (or two) of all your website files on an external hard drive (or two). This avoids losing all your stuff if someone breaking into your computer. By keeping regular backups, you always have the files to bring your website back online.
#5 – The next step in setting up your own web hosting server is driving traffic. Whether you are selling products, advertising service, or just trying to reach as many people as possible, you will want to drive traffic to your site. That’s why its important to get the right web hosting.
Websites once hosted don’t just simply make it to the top of the google search list. You will have to give it a helping hand. You can do this in two main ways. One, by paying for advertising. This may be costly, but it does work.
If you would rather not pay for more traffic, there are some ways to make you climb the Google search rankings. This is by doing something called SEO optimization. In the simplest terms, it is making your website have all the things Google is looking for when it ranks its websites.
The easiest, and cheapest, way of doing this is making sure your site contains as many relevant keywords as possible. Lots of short paragraphs with subheadings are great too.
Hopefully, this article has provided you with enough information to get the general idea of how to do your own basic web hosting. If this seems already too much for you to try and handle, in your already busy schedule, don’t worry. There are so many web hosting sites out there that can do most of the work for you.