Author Topic: domain.com and www.domain.com are resolving to different pages  (Read 4913 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
hello
i want ask about the reason domain.com and www.domain.com are resolving to different pages.
i setup new server all good configured but domain.com and www.domain.com are resolving to different pages.
i use a lot of .htaccess configs but my problem is not resolved

my website on www.domain.com page working fine but when i put domain.com i get same page when i put ip of server
i get page with it work message

please help me

thanks 

Offline
***
Re: domain.com and www.domain.com are resolving to different pages
« Reply #1 on: August 20, 2017, 10:17:14 AM »
Check your apache configuration and see where domain.com and www.domain.com are pointing. If they point to a different place edit the directory of domain.com to be the same as for www.domain.com. Save. Restart apache.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...