Score:0

connecting domain to a server and port forwarding to show website hosted on another server

uz flag

I have a website on server A with IP address of 1.1.1.1 and the domain is example.com. I also have another server B which IP address is 2.2.2.2. I want to connect the domain example.net to server B and somehow config the server so when users browse example.net it connects to server A shows content of example.com. Also it should send users actual IP address in header.

vidarlo avatar
ar flag
Does this answer your question? [How can I forward requests from my web server?](https://serverfault.com/questions/1035016/how-can-i-forward-requests-from-my-web-server)
Dmitriy Kupch avatar
be flag
You could do a split DNS configuration. That way your recursive DNS server would provide different results then the actual authoritative server.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.