Virtualmin - Domain / Subdomain confusion

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2010-02-13T17:51:31Z Indexed on 2010/05/09 8:58 UTC
Read the original article Hit count: 151

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about domain

Related posts about subdomain