Hi I’m a newbie and I’m not really sure of what I’m doing but:
I have a VPS (vps123.vpsdomain.net) with one IP and what i need is to have all my websites over there.
So I’ve installed Virtualmin on Ubuntu Server 14.04.3 LTS and now I don’t know how to go forward!
Let’s say for example i have 3 php websites projects inside 3 different folders:
cookingrecipes
findbestcarforyou
ihavenofantasy
Each website/project should have his own folder, database, his own ftp (like they are 3 different websites, or something like that…)
Or, if you don’t wish to buy any domains, you could do what you mentioned above – just reuse your VPS hostname, and use “vps123.vpsdomain.net/cookingrecipes”.
For that, just create a new Virtual Server named “vps123.vpsdomain.net”, and then make a directory named “cookingrecipes” in the public_html folder for that account.
Note that if you do the last option – you can create an FTP account for each one, but technically they’re all part of the same account. One site would be able to access the data from the other sites if they wanted to.
Sounds like you’re off to a good start there… the nameservers for mydomain,info though, where do they point? That is, where can you configure DNS records for that domain?
If that points to a third party, such as your domain name registrar – that means that you’d need to go into the DNS control panel at your registrar, and create a DNS entry for cookingrecipes.mydomain.info that point to your server.
For any website you want accessible on your server, I would suggest creating a Virtual Server for it, and put that site within the public_html folder of that Virtual Server. Just like you did for the cookingrecipes.
Then, create a DNS entry for it, and point that to your server.