Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I want to forward with mask from one server to another server.

In Server One:

www.abc.com test.abc.com live.abc.com

In Server Two:

http://ipaddress.com/folder1
 http://ipaddress.com/folder2

test.abc.com --> http://ipaddress.com/folder1 
live.abc.com --> http://ipaddress.com/folder2

In both servers what i have to do the accomplish this task.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Server one: DNS server. Point the domains/subdomains to the corresponding server (ip/url).

Server two: Web server (Apache, Nginx, IIS etc.). Create virtual hosts/listeners that routes to the correct folder.

Without knowing what server setup you have, it's difficult to give a more detailed answer.

share|improve this answer
    
I have done on server one A records point to server two ip and in server 2 i dont have panels to setup virtual host/listners but I will give a try to create virtual host and i have root access on both the servers , can u please give me your guide example on using virtual host on second server so that i will try it out –  Vijay Jan 11 '12 at 7:13
    
Thanks alasjo I tried your suggestion using virtualhost on second sever fixed the issue and thanks again –  Vijay Jan 11 '12 at 7:43
add comment

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.