Apache: How redirect from domain.com to http://www.domain.com?
I dont want my users who type domain w/o www to be redicrect to the main http://www.domain
how to do it and where? local .htaccess or the apache config (I have Ubuntu server)
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.htaccess:
More info: http://enarion.net/web/htaccess/redirect-www-and-no-www/