How to DNS locally to serve two different websites?
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
How to DNS locally to serve two different websites?
How do I DNS Server two websites from my computer. The problem I'm having is that I want to serve two websites from my computer at once but only have one port 80 to use for web interface..
IE;
My host redirect = basolo.no.ip.org
Goes direct to my IP or server..
My 1st site = gw.basolo.no-ip.org
Goes to my htdocs/galacticwars directory
My 2nd site = fish.basolo.no-ip.org
Goes to my htdocs/fishing directory
Is this possible through Suse Linux 11.0 distrobution? Is there a way to set this up? I know there is a wizard, but all of it seems so complicated. I can code a PHP/MySQL game but I can't figure this out?! Hrmm... Pretty frustrating! Can anyone help me? Thanks!
Thank you. I think I can do it through vhost then. I will read up. Which file do you alter/enter your code in to? I'm using Suse 11.0 for my web server. Thanks again and hope to hear back from you!
Ok, nevermind.. I think I understand it now.. Just gunna be tough to get the DNS entries cause it says for outside access the DNS must also be set.. But I think you gave me enough info to get it! Thank you very much!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.