When I first signed up for web hosting, I had no idea what to do. I tried to research how to set up and manage my website by myself, but found very little information that didn’t scare the crap out of me. There was also a distinct lack of good guides on how to save money with web hosting. Luckily, I had the great fortune of finding a great web hosting company, 1&1, that has great plans with great prices and excellent customer support.
So I spent about four days putting together this guide, and all you need to know is:
Here are some of the things that you will need to know when setting up a website with a web hosting service. This is not to be taken as a walkthrough, as these things take time and a lot of knowledge. Rather, it’s to give you an overview of what you need to do to setup your own website.
Let’s start off with the important part first:
Name Your Server & Domain
This is probably the most important step of this guide. Without a name, you won’t be able to upload files. So you have to name your server and domain now. I won’t explain how to do this, as I will describe what to do with these files below. For now, just name your server and domain, and you can skip the later.
Configure Your Settings
Before we can upload any files, we have to make sure our website is ready to go. Your server is most likely running Linux or Windows, so download your preferred operating system from here and use it to set up a website. This way, your server will be able to access your website.
Once you have your operating system downloaded, go to your server to make sure your internet connection is working. Make sure it’s secure, and that you have the right port exposed. Make sure you do this on both port 80, and port 443 (HTTPS).
Then, look at your server logs for the “www.domain.com” directory. If you don’t see it, you need to make sure you’re using the correct directory. You can see this by checking if your file permissions are set correctly. Mine is defaulted to “1”, which means no permission given, therefore you can’t upload files. If you see “www.domain.com” listed twice in your logs, then you have the right directory.
If your server is working properly, then check to see if you have the correct permissions. There should be no space or file folders inside that directory. Check with your web host or by checking the details on your domain.
Upload the Files
Now, we need to upload a couple of files to the web server, which I will explain in detail later. First, we need to upload a script file. This is the file that will run your website when you go to the “Add a File” section of your settings.