Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right now server is accessed via IP Address http://10.1xx.19.2xx:8080/svn

How can i change it to ?

Which file to edit ?

share|improve this question

migrated from Jul 10 '13 at 16:51

This question came from our site for professional and enthusiast programmers.

You need to create an A record in your DNS server mapping that hostname to your IP address.

You also need to configure your server to listen on port 80.

share|improve this answer

It depends what service you have running behind port 8080. If it's apache, and /svn is a directory under your DocumentRoot, it's easy:

  1. First, it appears you are using a private IP address (beginning with so you will need to discover if you have a public routing IP address mapped to on your server. If you don't know you might try one of these tutorials.
  2. Register a domain name, and point its DNS A record to the public IP address of your server.
  3. If you are using apache virtual hosting you will need to add ServerName or ServerAlias to the <VirtualHost> block in the apache configuration (or follow the equivalent process if you in your server control panel).
  4. Restart apache, and wait for DNS propagation to complete (which takes up to 24 hours).

This will allow you to have access to If you want to access it without the :8080 in the URL, you will need to run the service under port 80, the default for http, but this can't be done if another service is already running on port 80.

If you're not using apache, or you're using dav_svn_module or another tool to provide access to an svn repository, you'll need to describe your exact environment so you can get the relevant answer.

share|improve this answer

To add to Quinn's answer, if you have admin access to an Apache server, you can also configure mod_proxy to proxy to http://10.1xx.19.2xx:8080/svn. You'll probably end up using the ProxyPass and ProxyPassReverse directives. Take a look at the Apache docs at

share|improve this answer

You must log in to answer this question.