hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Redirecting a CNAME to a url
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Redirecting a CNAME to a url

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-25-2012, 10:53 PM
kuraz kuraz is offline
New Member
 
Join Date: Apr 2012
Posts: 3
Post

Redirecting a CNAME to a url


Hello,

I'm really a noob at web hosting but I am a software engineer for a DoD company so I have some technical experience in general.

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"

Is this possible and if so How????

I registered my domain name at godaddy if that counts for anything lol.

Reply With Quote


Sponsored Links
  #2  
Old 04-25-2012, 11:27 PM
kuraz kuraz is offline
New Member
 
Join Date: Apr 2012
Posts: 3
Or is there a way to make "something.mysite.com" ->(point to) "mysite.com/p1254a120" ?????

Reply With Quote
  #3  
Old 04-26-2012, 12:11 AM
biggerboy biggerboy is offline
Web Hosting Master
 
Join Date: Feb 2006
Location: Philadelphia, PA
Posts: 611
Could just do a redirect, so make the subdomain and then for the index file of that put a redirect in the header.

Reply With Quote
Sponsored Links
  #4  
Old 04-26-2012, 02:26 AM
kuraz kuraz is offline
New Member
 
Join Date: Apr 2012
Posts: 3
Quote:
Originally Posted by biggerboy View Post
Could just do a redirect, so make the subdomain and then for the index file of that put a redirect in the header.
By subdomain you mean you mean the "something" in "something.mysite.com" correct? This is done on the host end and not the domain end right?

The index file of the "something.mysite.com" would have a redirect in the header to point to "mysite.com/p1234534"???? If so is there a link to a tutorial for this?


Thanks. sorry for the silly questions. I'm starting learning this stuff from scratch a few hrs ago.

Reply With Quote
  #5  
Old 04-26-2012, 11:15 AM
Gabe_GoDaddy Gabe_GoDaddy is offline
Web Hosting Evangelist
 
Join Date: Mar 2012
Posts: 507
Quote:
Originally Posted by kuraz View Post
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
  1. Log in to your Account Manager.
  2. Next to Domains, click Launch.
  3. Select the domain name you want to add a subdomain to.
  4. Click Forward, and then select Forward Subdomain.
  5. 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.

  6. Select http:// or https:// depending on your server settings. For more information, see HTTP vs. HTTPS.
  7. In Forward this subdomain to, enter the URL you want to forward the subdomain to.
  8. 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'
  1. Log in to your Account Manager.
  2. Click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Settings section of the Hosting Control Center, click the Domain Management icon.
  5. From the All Domains panel, click the domain to which the subdomain(s) will be added.
  6. Click Add Subdomain.
  7. Enter a single subdomain or multiple subdomains separated by a comma.
  8. Select whether the subdomain content will reside in a folder of the same name or a new or existing folder.
  9. 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!

__________________
Gabe
Go Daddy® Hosting Ambassador
GoDaddy.com

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Class required in redirecting URL Please help! mfwl Programming Discussion 5 03-10-2011 02:08 PM
CNAME redirection to a URL? astraeuz Hosting Security and Technology 4 05-28-2008 03:07 PM
url redirecting h4wk Hosting Security and Technology 0 06-12-2007 08:23 PM
How to get a CNAME subdomain to point to different URL? dpny Hosting Security and Technology 3 06-22-2004 01:55 AM
Redirecting w/ CNAME Circa3000 Hosting Security and Technology 1 09-19-2003 08:19 PM

Related posts from TheWhir.com
Title Type Date Posted
ISPs Launch Copyright Alert System to Curb Infringement Web Hosting News 2013-02-27 16:14:36
Web Host Go Daddy Quietly Kills Off Cloud Servers Business Web Hosting News 2012-11-12 13:39:46
Rogue Antivirus Campaign Tricks WordPress Users, Infects 30,000 Sites Web Hosting News 2012-03-08 12:10:48
OpenDNS's New Technology Improves DNS Traffic Security Web Hosting News 2011-12-06 18:35:36
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?