DNS settings on a local network
hi guys, how to resolve an ip with a port in linux?
i mean like this: http://192.168.1.10:8000, how to include this on the dns. So the user don't have to remember the ip address and the port. like the user will only type http://scanfiles then it will resolve the corresponding ip. is it possible? Thanks. |
.htaccess, mod_http_proxy and mod_rewrite with apache:
Code:
RewriteEngine on |
Quote:
|
Quote:
Another approach could be to use mod_proxy: ProxyPass / http://127.0.0.1:8080 within the virtualhost for the "scanfiles" website. That way you don't redirect the client at all, and you always have the nice looking url. Note that the solution given here does NOT answer your question, as your question is an invalid one. DNS names have nothing whatsoever to do with ports, it doesn't make sense to resolve something to a port, so you'd do it in a different way. |
All times are GMT -5. The time now is 02:48 PM. |