How to setup a virtual host in apache2 and redirect the url

Alles, was den Apache betrifft, kann hier besprochen werden.

How to setup a virtual host in apache2 and redirect the url

Postby msn » 14. October 2017 20:37

Hi Experts,

I'm new to web applications, recently I've given a task to configure a new virtual host on one of our LAMP server(ubuntu 14.04). Frankly speaking I don't have any knowledge on this setup. Well I've given the purpose and few inputs which Ill share here.

Let us assume our client name is = XYZ Company

Currently our onshore team in singapore are support our client regional website for example "xyz-sg.com.sg" on their own servers(not sure which OS it is)

And we have a server in our support of the same client which is hosting the global (U.K) site for our client and the website for example is "xyz.com"


OK, now coming to actual part, the singapore team wants to redirect their website "xyz-sg.com.sg" TO "xyz.com/sg". But when they are trying to redirect it was LANDING on "xyz.com" i.e UK home page, but not as they expected to be landed as on "xyz.com/sg"


Finally they had a call with our THIRD party APPLICATION support team, and as per their suggestion, now they want us to configure a new VIRTUAL HOST in our LAMP server in which "xyz.com" is hosted and also they have given the RedirectEngine on & Redirect policy from "xyz-sg.com.sg" TO "xyz.com/sg". They said that the SINGAPORE web content will be on their own server and once we confirm them that we finished our configuration, then they will map our U.K server details to their internal/external dns.


Now all I need is your support to achieve this task? Appreciate if any one helps me in sharing me their knowledge.


Regards,
MSN
msn
 
Posts: 2
Joined: 14. October 2017 20:02
Operating System: ubuntu 14.04

Re: How to setup a virtual host in apache2 and redirect the

Postby msn » 15. October 2017 08:07

Hi Experts,

Please is there any one who can help me in this?

Regards,
MSN
msn
 
Posts: 2
Joined: 14. October 2017 20:02
Operating System: ubuntu 14.04

Re: How to setup a virtual host in apache2 and redirect the

Postby Nobbie » 15. October 2017 10:04

This forum is driven by very few freebies, giving support for the private people with no or small knowledge, which needs support for setting up their "playground" for web development. We CANNOT provide professional support for (more or less) large companys, which instead should get support by payed professionals.

Last not least, there are so many usefull tutorials, documentations, videos etc. out there in the internet, there should be no problem for an educated IT professional to follow any of these documentations and setup a virtualhost. Even the original apache documentation is full of handy examples. See https://httpd.apache.org/docs/2.4/vhosts/examples.html
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 28 guests