Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Pointing a domain at two hosts

Discussion in 'General Discussion' started by pmooreimages, Apr 8, 2013.

  1. pmooreimages

    pmooreimages Registered

    Joined:
    Apr 8, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    I am working on an ecommerce website at the moment which is using a custom service which integrates with the clients ordering/crm system but I would like to also setup a small drupal site under the same domain for use by there sales teams. The issue im having is that I would like this second site to be set up in a subfolder such as example.com/subfolder and not on a sub-domain, The trouble starts however when the ecommerce provider will not allow us to upload the drupal software to there managed servers so I need to set the drupal site up on a differant server.

    Does anyone know the dns changes I would need to make to allow the subfolder to be pointed at a different host whilst still showing the same domain name to visitors?
     
  2. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    352
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    I don't believe you'll be able to do this (point a subfolder to another host) with DNS. As such you'll need another solution, either something with a subomaind or a transparent redirect with an iframe if they'll allow that in the subfolder, but imo thats an approach that might cause you problems later.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice