General Question

alive's avatar

How can I make a sub domain point to a different server/IP address?

Asked by alive (2953points) September 24th, 2010

Does anyone know how I can connect an existing sub domain to a sever other than the one I am using. I already have the new IP address, I just can’t figure out where to insert it?

Do you need any other details to help answer this question?

Observing members: 0 Composing members: 0

7 Answers

poisonedantidote's avatar

I could very well be wrong on this as i usually take care of design, uploading files and pointing domains to different servers is not really my thing. but im fairly sure you either need to point the entire domain to a new server, or nothing. i dont think you can point individual sub domains to different servers.

the only way i know how to do this, would be by uploading a file to the subdomain that redirects you to a file on the other server.

take a look in your settings for the subdomain, but i dont think you will find anything.

timtrueman's avatar

Pointing a subdomain to a different IP is definitely possible and easy!

1. Go to where you manage your DNS and add an “A” record for the subdomain (”‘blog” for “blog.yoursite.com” for instance).
2. Point it to whatever IP you want.
3. ???
4. Profit!!!

MrItty's avatar

It’s going to depend on how you configure your server. For example, my experience is with Apache. If you use Apache and have access to your httpd.conf file, you can add something like this:

<VirtualHost subdomain.example.com>
Redirect 301 / http://www.fluther.com
</VirtualHost>

That, I think, will cause all requests going to http://subdomain.example.com to be redirected to http://www.fluther.com, leaving requests to http://www.example.com alone.

Vortico's avatar

Yes, an A record is the way to go. Most web hosting services will support this.

@timtrueman Profit?

timtrueman's avatar

@Vortico http://www.justin.tv/hackertv/b/259414909 You’ll see why within the first 2–3 minutes…

Response moderated (Off-Topic)

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther