When you’re new to linux this is what we applied to our new VPS server and it is working at this time.
There is a link that you can use to install everything in your server and by learning more about this it will help you established your Debian Server according to your needs.
There are many helpful article that you can find in the web but I think Chat GPT is now making it more easier for your to get help or guide when you’re establishing a server of your own.
Setting up a server and establishing a DNS is another way to have it in your own server. There is a tool that you can use which is DNS Checker and it will help you know if your server is already running.