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

its my first post here so I hope im doing it in the right place.

Im setting up a DEV environment in Ubuntu, and being a software developer not really a sysadmin or application manager, I am confused in some steps.

At the moment I have the running servers of production, but they are two different machines, having two different IPs, lets say Backend Frontend

Now, i would not like to change the code and configuration, so to maintain the same structure as in PROD. That being said: I want to get everything in ONE Ubuntu server machine, with lets say IP

Knowing that what I have: Backend - comprised of Liferay (tomcat server port 8080) Solr Master (port 8983) with Jetty Some custom made J2SE applications who communicate through webservices with liferay (calling on port 8080)

Frontend (lets say IP - comprised of Solr Slave (port 8983) with Jetty HTML code+JS+CSS.. (apache 2 HTTP server)

I would know how to achieve this for different websites running on an apache2 http server...but since I have as well Solr and Liferay and Webservices, im confused.

Is there a way that my server would be redirecting the calls to/from and to the correct application servers of backend and frontend in

Maybe through some kind of proxy virtual network adapter?

Thank you a lot!!


share|improve this question

1 Answer 1

up vote 0 down vote accepted

One server can have multiple ip addresses. so you can have one server with both and (though you should probably use and unless you have those public ips). You can then run both the frontend and backed services on the same server but binding to the different ip addresses.

You can do this even if you have only one network interface.

share|improve this answer
After reading you i just googled "multiple ip addresses in one ubuntu server" and i got a bunch of results, I think i'll be able to make it work now. thank you so much for pointing me in the right direction!!! – Rui Bandarra Jan 23 '13 at 23:00
Hi, I solved the issue by setting up two different virtual network adapters in ubuntu server. case closed ;) thanks for the help!! – Rui Bandarra Jan 31 '13 at 14:50

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.