Link to home
Start Free TrialLog in
Avatar of Member_2_3698648
Member_2_3698648Flag for Australia

asked on

Subsite on a different server to main site can this be done

Hi,

I want to know whether i can have www.somesite.com point to server1 (linux)
and www.somesite.com/estore point to server2 (windows)

So both have the same FQDN but the subsite goes to a different server.
eg i want to split my main site and my ecommerce site between 2 servers

Is this possible?
Avatar of tanujchandna
tanujchandna
Flag of India image

Hi,

There can be two method

1. Set the redirection on www.somesite.com/estore website to windows
2. create subdomain with name estore.somesite.com on windows and point its DNS A record from Linux to windows in DNS Zone file.
From your question it is not completetly clear what you want to accomplish. Do you want 2 separate servers to be accessible directly under 1 name? Or do you want to create a config so that end-users of your website will not notice that when they request a page from estore it is actually handled by a different machine?

case 1 is impossible

case 2 can be done using mod_proxy extension to apache http server.
Avatar of Member_2_3698648

ASKER

de2Zotjes

this is where i am getting confused, because i have been told it is possible technically for option 1

eg:

www.somesite.com -> server1 hosting this site
www.somesite.com/shop -> server 2 hosting this site.

the above is exactly what i want, but i am not sure if it is possible.
The reason primarily is because the main website is linux hosted. but our ecommerce site is windows based solution.
de2Zotjes can you provide some information on how the mod_proxy extension would work, (not just links to other websites, but an actual example?)
ASKER CERTIFIED SOLUTION
Avatar of de2Zotjes
de2Zotjes
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thankyou, this confirms and works as we wanted it to. we just needed to set the settings correctly in apache.
Apologies my terminology was incorrect!