apache - WordPress and www subdomain -


i have setup wordpress domain xyz.test.

in domain configuration have set entry www subdomain same entry primary domain (xyz.test).

however, when entering www.xyz.test in browser, not go wordpress server, returns apache`s "no content message".

how solve issue?

apache allows name based virtual hosts. means can host multiple fqdns on same ip address. need add name based virtual host www.xyz.test points same directory. or add server alias in xyz.test virtualhost configuration:

servername xyz.test serveralias www.xyz.test 

Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -