0

My joomle site live2.joomlaabc.com redirectes to www.live2.joomlaabc.com , even though there is no nginx directive that performs this 301 redirection. Does joomla has any redirection like this in its configuration?

I just cloned the website joomlaabc.com to live2.joomlaabc.com , as i want to test its copy on another server, but main server works fine (joomlaabc.com, redirectes to www.joomlaabc.com) but live2 also redirects to joomlaabc.com.

In configuration.php i have set the url to http://live2.joomlaabc.com as well , but still it keeps redirection to www.

Farhan
  • 4,269
  • 11
  • 49
  • 80

1 Answers1

0

This is likely a browser side redirect.

It is common for browsers to add www. to URLs that don't include www. and are don't have a server available. This allows users to enter example.com and get servered the www.example.com site.

Verify that the domain of your Joomla site resolves on the host that is getting redirected. Try using nslookup or host from the command line. If you have telnet or putty on your host, you can try connection to port 80 (HTTP) or port 443 (HTTPS) as a telnet session.

Sites like isup.me can be used to see if your site resolves from the internet.

BillThor
  • 27,737
  • 3
  • 37
  • 69