Sign in to follow this  
tgonhawk1

Redirect new subdomain to another server

Recommended Posts

What I have:

  • A domain registered with some registrar, let's call it "R".
  • A domain hosted by Hawkhost (shared hosting), let's call it mydomain.com
    • The nameservers are ns1.hawkhost.com and ns2.hawkhost.com
  • I have a VPS hosted elsewhere which performs some related functions to this domain
    but isn't a website per se.

What I want to do:

  • Create a new subdomain for this domain, let's call it alternative.mydomain.com
  • Connect that subdomain name to the IP of the VPS.

The main question is: How do I do that?

I looked at the functions on my registrar's site, and there was something about "subdomain redirection",
but it said I need to use *their* nameservers instead of hawkhosts.   I'd rather not do that, in case,
as happened recently with my hosting being moved from DC to NY, the IP changed with it, and
hawkhost took care of that, resulting in no downtime.

I can add the subdomain in cpanel, but that's not really what I want since it would hosted elsewhere,
but maybe there is some fancy DNS editing I can do on top of it to make it work.

Any suggestions? (If not, where should I ask about this?)

 

Share this post


Link to post
Share on other sites

I found a very simple answer to my question:

In cPanel, I simply added an "A" record to my DNS zone file (I think that's the right terminology)
associating newsubdomain.mydomain.com with the desired IP address.

I did not have create a whole (real) subdomain to do that.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this