+ Start a Discussion
sonninhosonninho 

Has anyone had any experience with sites and CNAME ?

Hi community,

 

I am trying to set up a custom domain: test.mycompany.com, I created a CNAME entry with my hosting service to point to mysite.force.com. After a few hours the CNAME entry was processed, I went to a CNAME lookup tool (I used this one: http://www.mxtoolbox.com/ ) to check and it came back like this:

 

TypeDomain NameCanonical Name
CNAMEtest.mycompany.com
mysite.force.com.mycompany.com

Does the CNAME look right to you? Why does it append the force.com site to my company domain name?

 

Went into Sites to enter in the Customer Web Address with test.mycompany.com but get this error message: 

Salesforce.com cannot validate the custom Web address you entered. The domain may not belong to you or the CNAME may still be processing (can take up to 24 hours). Try again later, or save the site without a custom Web address.

 

I must have done something wrong here I can't figure it out. Wondering if anyone can point me to the right direction?

 

Would really appreciate any help.

 

Cheers,

 

Sonny

Best Answer chosen by Admin (Salesforce Developers) 
sonninhosonninho

Thanks Ryan. I fixed it in the end. It was to do with my hosting service, (netnames)

All Answers

RyanGuestRyanGuest

Your CNAME should be to mysite.force.com

 

I own the domain awfulcode.com. Here is what my CNAME looks like using the command line tool nslookup:

 

Microsoft Windows XP [Version 5.1.2600]

 

(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\rguest>cd ..
C:\Documents and Settings>cd ..
C:\>nslookup www.awfulcode.com
Server:  cns.sanjose.ca.sanfran.comcast.net
Address:  68.87.76.182
Non-authoritative answer:
Name:    e2474.c.akamaiedge.net
Address:  96.6.234.48
Aliases:  www.awfulcode.com, free-1241397f7af.force.com
          na7.force.com.edgekey.net
C:\>

 


C:\>nslookup www.awfulcode.com

Server:  cns.sanjose.ca.sanfran.comcast.net

Address:  68.87.76.182
Non-authoritative answer:

Name:    e2474.c.akamaiedge.net

Address:  96.6.234.48

Aliases:  www.awfulcode.com, free-1241397f7af.force.com        

                na7.force.com.edgekey.net

C:\>

sonninhosonninho

Thanks Ryan. I fixed it in the end. It was to do with my hosting service, (netnames)

This was selected as the best answer
ManikumarManikumar

Hi,

 

Kindly let me know where we can find hosting service, (netnames)?

 

Thanks in Advance,

Kumar