Setting up a subdomain to access another server


#1

I’ll keep it simple: I have a large website (www.website.com), and I have a blog on another server (blog.someotherplace.com or www.blog.com). I want to set up a subdomain on my main server/site (blog.website.com) that accesses this blog, so it’s still showing up in browsers as blog.website.com. Is that possible?


#2

I assume that www.website.com is hosted in DH and blog.someotherplace.com is hosted elsewhere.

You will need to

  1. create subdomain blog.website.com in DH
  2. modify DNS to point to the DNS server where you host blog.someotherplace.com. It will take a few hours for DNS to propagate
  3. create domain alias in the web server where you host blog.someotherplace.com
  4. depends on your server, you may need to add blog.website.com to your hosting plan
  5. restart your web server