: How to make a single website have 2 IP Addresses I have a web site www.example.com with IP Address a.a.a.a. I need to make my email www.example.com/email with another IP of b.b.b.b. The email
I have a web site example.com with IP Address a.a.a.a.
I need to make my email example.com/email with another IP of b.b.b.b.
The email server is working now as mail.example.com but i need it to be example.com/email The two IP Addresses are accessed from the internet.
More posts by @Vandalay111
2 Comments
Sorted by latest first Latest Oldest Best
I'm guessing b.b.b.b is your mail server and you'd like to access webmail via example.com/email. There are basically two options.
Reverse Proxy - configure your web server (a.a.a.a) to reverse proxy example.com/email for mail.example.com. When someone navigates to example.com/email/foo it will actually be mail.example.com/foo on the backend. This is a more complicated solution as there may be complications with clients using webmail such as cookies not being scoped to the domain. Be sure to thoroughly test before implementing this method.
Redirect - Redirect requests for example.com/email to mail.example.com. Users will see mail.example.com in the address bar and connect directly to your mail server. example.com/email will not appear in the address bar. This is by far the simplest solution to implement and support.
UPDATE: added links for information about configuring IIS as a reverse proxy and to serve redirects. Note that URL Rewrite can also be configured to redirect requests.
Since the email side is working for b.b.b.b I will explain a.a.a.a.
You want to go to your domains dns settings and under MX > create a Cname record and point the alias to example.com/mail
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.