Guest User!

You are not Sophos Staff.

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

redirect question

I'm curious if WAF can do this:

somebody types in etc-md.com.  I don't want that to work i want it redirected to www.etc-md.com.  I am not able to find anything yet that says a way to do this is around..i am assuming i am missing something...tips?


This thread was automatically locked due to age.
  • Yes, there's lots of ways to do it, including on the webserver itself.

    Barry
  • @BillyBob - I wasn't discussing the original question, but the underlying reasoning for the request and the lack of such a feature in the UTM. You're right that users can be directed to www.domain.tld by adding a CNAME entry, but because HTTP-based traffic is rarely processed as simply as DNS indicates, I disagree that doing so is the right solution. I understand that UTM doesn't offer URL redirection in any form, and that in this particular case, the only simple solution is to create a CNAME record that masquerades domain.tld as www.domain.tld. Unfortunately (as seen in follow-up postings), this doesn't solve the underlying problem of Web client requests still indicating domain.tld, instead of www.domain.tld in the request headers, as Barry indicated.

    Given the current feature set in UTM, the only functional solution is to configure UTM to allow requests for domain.tld to the published Web server and configure the Web server to respond to those requests with a 301 or 302 with www.domain.tld in the resource header. This way, the client is going where they think they are and the Web server can respond as desired for that site.

    Jim

    Sophos XG1 (SFOS 17.5.9 MR-9) on ProtectLi FW2B

  • The OP is going to do webhop so I doubt he is concerned about the entry domain in the logs. But your points are well taken and appreciated. Its refreshing to see new members contributing instead of asking stuff that can be found in the manual.

    Regards
    Bill
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?