Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a VPS located in another part of the world that has a static IP. I also have a server at home which has a dynamic IP.

Right now, I'm using No-IP's dynamic DNS client to update my home server's IP and keep it linked to my domain. I was wondering if I could somehow, at the same time, point a particular subdomain to my VPS instead of my home server?

In other words, www.mydomain.com is hosted on my home server while www.mydomain.com/subdomain is hosted on my VPS (or vice versa). Thing is, I have to ssh to my VPS quite often too so it has to be more than just a normal URL redirection.

Both servers are linux based.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The name www.mydomain.com/subdomain is not a subdomain. It is just a subfolder. A subdomain will be sub.mydomain.com. A new DNS record A record can be created for this subdomain and it can be pointed to a different server.

share|improve this answer
    
Ah... I see. Thanks. As for the DNS record A record, where would I do the configuration? With my domain registrar (i.e. No-IP.com)? –  Reuben L. Apr 23 '12 at 7:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.