Quote:
Originally Posted by kuraz
Hello,
My question is, I want to redirect the CNAME "something" from "mysite.com" to "myothersite.com/12345". So it will be sort of like this "something.mysite.com" ->(redirects to) -> "myothersite.com/12345"
I registered my domain name at godaddy if that counts for anything lol.
|
Hey Kuraz,
If you are using Go Daddy DNS or Hosting then there are a few ways to achieve this.
With Go Daddy DNS, we give you the ability to set up subdomain forwarding.
To Add a Forwarded Subdomain
- Log in to your Account Manager.
- Next to Domains, click Launch.
- Select the domain name you want to add a subdomain to.
- Click Forward, and then select Forward Subdomain.
- In the Add subdomain field, enter the subdomain.
Note: The value entered can include a period (.) but not as the first or last character. Consecutive periods (...) are not allowed. The entire value cannot exceed 25 characters.
- Select http:// or https:// depending on your server settings. For more information, see HTTP vs. HTTPS.
- In Forward this subdomain to, enter the URL you want to forward the subdomain to.
- To view additional options, click Advanced Options, and then select one of the following:
- Forward Only — Specifies the length of time for this forwarding setting. Select one of the following redirect types:
- I am permanently forwarding my domain — Redirects to the site you specified in the Forward To field using a "301 Moved Permanently" HTTP response. The HTTP 301 response code tells user-agents (including search engines) the location has permanently moved.
- I am only temporarily forwarding my domain — Redirects to the site you specified in the Forward To field using a "302 Found" HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.
- Forward with Masking
- Title — Displays at the top of the browser window and in search results.
- Description — A short description of your website to display in search engine results.
- Keyword — A list of comma-separated keywords that describe the content and purpose of your website.
Click OK.
Note: we will automatically create an A record subdomain, this needs to point to 64.202.189.170 (Go Daddy's forwarding IP)
If you are hosting with Go Daddy, you can do this through the 'Hosting Control Center' under 'Domain Management'
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- In the Settings section of the Hosting Control Center, click the Domain Management icon.
- From the All Domains panel, click the domain to which the subdomain(s) will be added.
- Click Add Subdomain.
- Enter a single subdomain or multiple subdomains separated by a comma.
- Select whether the subdomain content will reside in a folder of the same name or a new or existing folder.
- Click Ok.
Make sure that the A record subdomain then points to your hosting account.
If you are not using Go Daddy DNS and are not hosting with Go Daddy, you should still be able to do this by creating a vhost for the subdomain that points to the desired directory.
Good luck!