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 created the CNAME (test.mycompanyname.com) for one domain (test.example.com). We have just configured CNAME alone like below,

test.mycompanyname.com CNAME test.example.com

When we try to give "test.mycompanyname.com" in address bar, it will response 403 Forbidden error message.

How to resolve this problem?

Regards, Karthik.

share|improve this question
    
You're hitting your webserver. You need to look into file permissions and/or webserver configuration on whatever computer(s) test.mycompanyname.com resolves to. –  tristan Sep 17 '13 at 11:30

1 Answer 1

Errorcode 403 stems from HTTP, not from DNS. This means that resolving your cname to an ip address of the original domain works fine, but the web server denies the request to view the page.

In your case most likely your http server is not configured properly to serve the request to test.mycompanyname.com domain name.

You should create a virtual host or add an alias name to one the existing sites.

share|improve this answer
    
Thanks for your response. Could you please suggest steps to create virtual host or add alias name? –  Karthik Elumalai Sep 17 '13 at 12:22
    
You can refer to your web server documentation for this. This process differs, depending on what web server you have installed. –  Kewa Sep 17 '13 at 12:29

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.