you could edit the hostnames and addresses panel for the domain on your gateway server and point the www hostname to a remote IP, if this is only for your local lan. If for the entire internet, change this in the DNS settings of your authoritive DNS server(s).
Just a thought.