The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help in setting cust CNAME

Discussion in 'General Discussion' started by shivaji, Oct 21, 2012.

  1. shivaji

    shivaji Registered

    Joined:
    Oct 21, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I need a help on setting-up a custom CNAME records for two sub-domains which will point to main domain name http://www.domain.com/.

    http://it.domain.com/ (Italy)

    http://fr.domain.com/ (France)

    I do not not mean here sub-domain re-direction which can be easily done through cPanel "subdomains". From redirecting i meant Aliasing, the domain name should display as it is : http://fr.domain.com but the content should be of http://www.domain.com. I did tried to set it through Simple DNS Zone Editor, but it didn't work.

    Please Help.
     
  2. Escobar

    Escobar Member

    Joined:
    Aug 11, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  3. shivaji

    shivaji Registered

    Joined:
    Oct 21, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I am not looking for something like this. As for example, like www.airbnb.com website, if you select on Language selection tool, it goes to specific sub-domain for that language. For French fr.airbnb.com and for Italian it.airbnb.com.

    We also have similar site like this and the content also ready for three different languages. If we can somehow redirect those subdomain address to main address, then i can convert the language through php by checking the domain address. I am not expert in htaccess mod writing but i am trying.
     
Loading...

Share This Page