This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Make multiple virtual servers with the same ip/domain

Hello Sophos forum users,

I am currently attempting to make two virtual webservers with the same domain, but I am stuck (pic attached)

 

  • The ip domain will be a domain later, lets call it domain.com
  • Do I need sub-domains to resolve this or is there another way to solve this?


This thread was automatically locked due to age.
  • Hey Edo.

    You can't use the same FQDN (or IP, for that matter) on two different virtual webservers. What are you trying to achieve with this, exactly?

    Regards,

    Giovani

  • Use a combination of real webservers and site path routing (and potentially redirects) with a single virtual webserver.

    So - www.domain.com/dev/ is routed to the virtual server A port 80

    www.domain.com/prod/ is routed to virtual server B port 443

    www.domain.com/test/ is routed to virtual server A port 8080

    Or you could just route www.domain.com/ to virutal server B port 443, whatever you want.

    With redirects you could "listen" for /dev/ then redirect to /MicroServer/whatever/here so users don't have to remember all that stuff, just /dev/

    It takes a little while to learn all of this, but once you do it becomes super easy.

  • Ty a lot for the input guys.

    I've tried implementing it the way you said with the virtual server setup like

    site path routing like

    but since the adress /DevMSTR for example doesn't exist i need to redirect it to /MicroStrategyWeb/asp/Main.aspx on the dev server but i get the



    • Any ideas on what I'm doing wrong here?
    • I would like to add that QA,DEV and eventually PROD are all microstrategy servers and they all have the exact same urls for the login and that is
      /MicroStrategyWeb/asp/Main.aspx
  • This answer

    from this forum post
    https://community.sophos.com/products/unified-threat-management/f/web-server-security/50330/2-webservers-port-80-1-ip

    • Would do exactly what I need IF I had access to subdomains, which due to administrative issues I currently don't
    • I am looking for a way to do this without needing subdomains if possible
  • Read darrellr's post again.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • In the end i was able to talk to sophos support and they said my specific case which is getting multiple identical webservers with the same URL on 1 IP,
    isn't possible without creating sub-domains which would enable the UTM to differentiate between request made to them.