This seems like it should be a ridiculously easy problem to solve, but I've been bashing my head against it across the internet for three days now.
I have a domain name reserved through yahoo business, and set to forward to the ip address of the server (on port 8080, since Clearwire blocks port 80.) I can't change the CName/A records because they don't accept ports; masked forwarding is not an option because of its usual set of problems.
When the user types in the url (http://www.example.com) they're brought to the homepage and showed the ip (http://18.104.22.168:8080/), the same for all subpages.
I attempted to follow the directions at [webmasterworld.com
] , but that created a problem because it redirected the user to http://www.example.com, which is not where it's hosted. Is there a way, using apache 2.2 on a windows box (either through httpd.conf or .htaccess), basic html files, or free online services, to force the address in the address bar to show as http://www.example.com/ (and maintain this through all subpages with appropriate subpage names being shown) while NOT redirecting them away from the ip? Even leaving off the [R], it automatically redirects when the http:// is include; if I change it to remove the http:// it ends up in an infinite loop.