Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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've set up the virtual host for under Apache.

config is

      DocumentRoot /var/www/abc

But my website runs on 8090

I should get the website when somebody types the

and browser should NOT show

How can this be achieved?

share|improve this question

If you get your website using only, then by definition your web server has to serve it on port 80. If you can get your website only via port 8090, then that 8090 will have to be in the URL. There is no way around it.

You could in theory arrange for port forwardings or proxying or something similar, but at the end that means that something will then listen on port 80 and will have to forward that traffic. The web browser will always connect to port 80 if no other port is specified in the URL.

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.