Virtualmin - Domain / Subdomain confusion
- by Dan
Hi,
I've just purchased a new VPS and setup Virtualmin on it. I pointed my domain at the IP of the server and set up a new virtual server through Virtualmin. I uploaded a simple php script to check it was working and it seemed to be fine.
I then created a subserver and also pointed test.mydomain.com to my IP, with the intension of having
mydomain.com
and
test.mydomain.com
both pointing to different directories on my VPS.
However, once I added the subserver, I received a 403 Forbidden message if I tried to access either the new subdomain OR the existing site. I uploaded a similar php script to the subfolder and it then displayed correctly. However, I now get sent to the same script regardless of what URL I type in.
I did try posting this message on the Virtualmin forum, but their filters picked it up as spam and wouldn't allow it.
Can anyone help me?
I'm sure it's just something simple, but this is driving me crazy!
Any advice appreciated.
Thanks.