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 have a VPS server. I have a system - CentOS.

I use the program - node.js. The application runs on the address and port:

I want to write the domain without port to the browser. And to load applications from the IP address :

I want to write - - and I want to read the source application from the

How can I redirect a domain to this ip and port?

share|improve this question
If there is nothing else on the server then why not change the port to 80?… – dannymcc Mar 10 '12 at 10:01
I have the apache on port 80. – Jenan Mar 10 '12 at 10:02
Have a read of that link, it talks about your exact situation. – dannymcc Mar 10 '12 at 10:04
I'm reading now your post. Thank you! – Jenan Mar 10 '12 at 10:06
Put your link as an answer please. – Jenan Mar 10 '12 at 10:07
up vote 1 down vote accepted

The following link suggests using mod_redirect and/or a library to run Apache through node.js

The library:

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.