New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

domain.com and www.domain.com are resolving to different pages

Started by sharvps, August 12, 2017, 06:54:11 PM

Previous topic - Next topic

sharvps

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 

darkness

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 ...