Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
<edit>
I've updated what I'm looking to try below, at post 5.
</edit>
Hi all
I'm thinking about installing User Mode Linux on a development server so I can better mimic the environments of all our main servers which run different distros. This dev server has a single external IP pointing at it.
I'm just wondering whether I can use this single IP to access sites on the different environments, or whether I'll have to set up an IP for each environment?
use nat to point for diffrent machine
eg
192.168.0.10:80 <- might use this as default from external XXX.XXX.XXX.XXX
192.168.0.20:800
192.168.0.30:8080
can be done
Quote:
Originally posted by neocookie Hi all
I'm thinking about installing User Mode Linux on a development server so I can better mimic the environments of all our main servers which run different distros. This dev server has a single external IP pointing at it.
I'm just wondering whether I can use this single IP to access sites on the different environments, or whether I'll have to set up an IP for each environment?
In the router have to set with NAT
to point the port forwarding to difrent ip address in the LAN
in the workstation have to set with httpd.conf
one machine run one port for webserver as default
if 3 machine all those must be diffrent port for apache then nat can forward it to respective machine
Essentially, I have a dev machine (running debian) which I'm planning to use as a host for UML. It has an direct connection to the internet with an IP, so we can test from different machines and work from outside the office.
What I need to have is 4+ UML instances running on this host machine, each running FC2. They each need to be able to run a web server, and recieve requests from outside/the internet.
The idea was to have each UML instance listening to a different subdomain (a.oursite.com, b.oursite.com, c.oursite.com), and have each web server listening on port 80. We need to access sites (eg: red.a.oursite.com, blue.b.oursite.com, etc) from the internet as well as on our network.
I have pretty much full control over the whole system, so anything's possible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.