Server Fault is a question and answer site for system and network administrators. 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

I'm running apache server on my machine and let's say I'm using domain I have a Hudson CI server running on the same machine on it's default port 8080. I'd like to make it accessible by What I have to do to point this subdomain to 8080 port?

share|improve this question
up vote 0 down vote accepted

Take a look at the following SFq - it actually considers the exact thing you are looking for:

share|improve this answer
So basically I failed with search engine :P Thx a lot. – jjczopek Dec 13 '10 at 0:30
:) Well, at least you have a solution - glad it's what you needed! – Dec 13 '10 at 0:34
one more question - I have set up mod_ssl and it works for my domain, but how can I setup also an SSL for hudson subdomain and eventually redirect when someone wants to access to – jjczopek Dec 13 '10 at 0:41
You can use rewrite engine for that - take a look at these:,… or something similar. – Dec 13 '10 at 0:55

It can be very easily be done by using Apache redirect

Have two virtual hosting sections for the domain you wish to redirect.

  1. for on Port 80
  2. for on Post 8080

Now in the Port 80 section put a redirect rule

This link has couple of redirect examples, you can figure out what suits you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.