Forum Discussion
Virtual Server with two sites but same IP
- Aug 16, 2022
Hi yxorpesrever ,
Below is the ref LTM policy which will be useful for your use case. You need to add another rule under same policy for other domain. Likewise you can add multiple rules to forward traffic to the desired pools based on matching the hosts under same LTM policy. Once policy is ready, you need to map it on the desired vServer.
(I found one video on youtube which is having same senario explained using iRule. Just in case you need some more references to acheive it. Refer this youtube video if needed.)
For the SSL certificate query - If you have *.abc.com wild card cert being used on the vServer then for the rest sites coming under *.abc.com domain should be fine with it. (city.abc.com, stat.abc.com etc). If you have sites which is having different domains or you have cert for specific FQDN only, then you need to make sure to have specific SSL certificates for the specific domain and/or FQDN to be used on the vServer else you will get cert mismatch error. In this senario, your vServer will have multiple client-ssl profiles on the vServer and one of the client-ssl profile will act as default/fallback client-ssl profile. Please refer this article for more details on it.
One query - As you are saying you have same internal/backend servers for both sites, so are they running on different ports or services?
One of them was running an extra port, but they are running the same other two ports.
Thank you for all your help! I do believe that what you taught me here led me to the discovery that the people who built this internal server... didn't actually make two different sites on it. Turns out, they just made it under the main parent site. So i was trying to "route" to a website that didn't technically exist. Everythign was just city.abc.com/newsite . However I will be referencing this because I feel like they are not going to just roll with this and will reconfigure to the intended config.
I was both angry and laughing at all this.
If I may ask you one more question though, could you point me to where I would ensure certain kinds of HTTP requests are allowed? For instance a POST. That is something in particular I was told needs to be enabled/allowed. I'm marking this as solved otherwise.
Thank you again so much.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com