Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know this had been already ask a couple of times but all the answer I find doesn't seem to work.(See More: http://webmasters.stackexchange.com/a/50103/33973)

What A or CNAME DNS Zone Records should I put so these two conditions will work: (1)If my domain "this.us" is opened without the www, I want to point the domain to the bit.ly server: (2)But if my domain is opened with www (www.this.us), I want to point the domain to a different server:

This is what I've done so far:

A Record

But everytime I open my domain on a web browser, both domain with and without www, seems to open bit.ly instead of the two conditions stated above.

share|improve this question

closed as unclear what you're asking by Stephen Ostermiller Nov 26 '13 at 20:59

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Your DNS records are fine, and assuming you waited a few hours for propagation it should work. That leaves the configuration of your server at the target IP It may be automatically stripping the www subdomain and causing the problem. Can you please describe how that server is configured, and what (if any) CMS or other software is installed? – Tom Brossman Nov 24 '13 at 11:22
Make sure you've used www.this.us as hostname on server. – Ali Hashemi Nov 24 '13 at 19:33
We need more information to distinguish your situation. – Stephen Ostermiller Nov 26 '13 at 21:00