Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.