Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am testing out openstack and have it all configured but with my current setup I have only one public IP address which is assigned to the servers public interface.

Is it possible to assign multiple dns records for different domains to the public ip address and then route the packets to the individual virtual server using some sort of routing table in openstack?

This probably isnt possible but I was interested to see if it had been done.

Thanks, Alex

share|improve this question
    
Thanks guys! didnt think of doing it like that. –  Alex Nov 6 '12 at 14:04
    
Remember to get IPv6 so you don't have to worry so much about this sort of thing. –  Michael Hampton Nov 6 '12 at 14:21

2 Answers 2

up vote 1 down vote accepted

You would actually do this by assigning the public IP address to one server and running a reverse proxy on it. One popular choice for this is nginx. You can find a configuration example here.

share|improve this answer

You can not resolve this issue with routing. I recommand that you set up a reverse proxy and assign your public IP to it. then you set up your reverse proxy to redirect requests for a particular domain to the virtual server of your choice.

share|improve this answer

Your Answer

 
discard

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.