Hello people.
I am rather new to Virtualmin, and I have a problem that can’t sort out.
I want to preview new website for a client on a domain created in Virtualmin. I created an alias of a website under my development domain, added DNS records on Cloudflare, but when I visit alias/maindomain I got redirected to old website, currently hosted on another server (DNS records of client’s domain point out to that server).
Does the alias domain point to the correct real domain?
If you set it up via the virtualmin interface, it should work out of the box.
Its possible that either one of the settings with CF is wrong or the alias points to the “wrong” domain.
I just realized the problem. I set tu website as SSL website, and alias redirection didn’t work. Then I deleted virtual server, and created it, but not checking SSL website option, and alias redirection worked.