www.domain.co.uk keeps redirecting to domain.co.uk

2 posts / 0 new
Last post
#1 Tue, 05/09/2017 - 12:57
whirlweb

www.domain.co.uk keeps redirecting to domain.co.uk

I have createda domain in virtualmin and I have noticed if I type in www.mydomain.co.uk it keeps redirecting to mydomain.co.uk, where in virtualmin can I add the www so it will just keep it in the url bar of the browser when navigating it as a normal surfer? Oh I also created an alias domain which was completley different to the original domain and that keeps redirecting to mydomain.co.uk instead of it staying in the browser url bar. This isnt anything to do with DNS as it has only A records which points to the server ip address and is not DNS hosted by the virtualmin server. Thank You

Wed, 05/10/2017 - 01:06
Joe
Joe's picture

Virtualmin isn't doing the redirect; your application, whatever it is, is doing the redirect. (It's possible to configure such a thing in Virtualmin, but it's not the default.)

Check for an htaccess file, or for configuration in your CMS or whatever software you're running, for where that redirect is happening.

--

Check out the forum guidelines!