when i access my domain shop.xyz.com, it is opening my default virtual host, not the virtualserver that i have added.
i can see the access log being generated for the default virtual host under
/var/log/virtualmin
guys, im seriously considering to migrate from cpanel to virtualmin pro, but with this basic functionality not working, it is difficult for me to decide on any switch
hi shop.xyz.com is an example, not the actual domain. but thank you for checking
yes i created virtual server with the subdomain itself, so i did not add the root level domain xyz.com as virtual server. is this the issue?
yes it is showing the virtual server list as shop.xyz.com
It’s impossible to say because you’re not telling us anything at all. If you’re that worried about somebody knowing about your website, there’s really not going to be anything anybody can do to help you.
Basically what you’re doing is saying, “my car doesn’t work” . There’s so many different things it could be that without actually seeing it to examine it, it’s going to be impossible to tell.
Even posting your apache error logs would be a step in the right direction.
there are no errors in apache error log,
the access logs is showing access to default site access log
the reason i do not provide actual domains is because im testing this via hardcoding my own /etc/hosts to this server, because the actual domain is currently hosted on another server. iam testing virtualmin.
There’s a dotfile in the root of the domain called .htaccess . It’s used for all sorts of thing related to how Apache processes requests. What does that file contain?
You do not have Apache SSL site selected on the subdomain. You also don’t have an SSL certificate on the main domain either. That’s why it’s doing it.