So I've registered a domain name

The_Ogre

Honorary Master
Joined
Apr 30, 2010
Messages
27,904
Reaction score
11,025
Location
Cape Town
..now how do I set up a VPS to respond to requests to that domain name?

I know I need the steps to configure on my VPS. Please guys, imagine I'm your 90 year old grandma asking you what rohypnol is and why you needed to use it. Step by step!
 
Who is hosting your vps?
The domain is .co.za or .com or ..?
 
The digital ocean guides are good.. Here is one example (I assume it is a Linux VPS):

https://www.digitalocean.com/commun...install-the-apache-web-server-on-ubuntu-18-04

Obviously you will be looking for a guide to match your OS you have running on your VPS and the type of website you will be needing.. If it's plain HTML pages, you don't need more than Apache.. If your website requires some form of server side scripting language and a database, you will need to install and configure said server scripting language..

VERY important, most guides you find on the internet do not delve into the aspects of securing Apache or the rest of your VPS for that matter.. Make sure you are researching on this aspect..

This is a good resource for Apache:

https://www.cisecurity.org/benchmark/apache_http_server/

You need to also secure SSH, and lock down root access tight..

I use https://configserver.com/cp/csf.html which works great and can tie into other mechanisms like modsecurity to automate IP blocks etc..

Managing a VPS takes a lot of effort and motivation at first to get it configured and secured, but once that's done you should be accessing it very little for any reason other than website updates and the odd OS update..
 
Thanks guys.

It's a Linux VPS, I've registered both the. Co. Za and the. Com domains, but currently it's only targeted to the local demographic. I'm hoping to expand internationally in the not too distant future.

It's being hosted in Austin, TX
 
Cool, have fun getting it setup and configured and ask questions if you get stuck somewhere..

I did forget to mention that you need to point your DNS to the public IP address of your VPS using an A record to map your domain name to the public IP address of your VPS.. You can then use a CNAME record to map www to your A record to make sure people can reach your website using both domain.com and www.domain.com..
 
Top
Sign up to the MyBroadband newsletter
X