Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set my A record for "example.com" to my app server. and I have a CNAME "www" that points to example.com

with this configuration, if I go to my domain without www, it works perfect. but without www, it gives me the default app server page.

do i have to make an extra virtual host for just the "www" in passenger?

thanks

share|improve this question

1 Answer 1

With most web servers, it's either an additional virtual domain or configuring the a virtual domain to also answer to the combination (some also have the capabilities to define wildcards as well).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.