LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having a dns server and Webserver on the same machine (https://www.linuxquestions.org/questions/linux-newbie-8/having-a-dns-server-and-webserver-on-the-same-machine-830134/)

mlandvo 09-03-2010 05:13 AM

Having a dns server and Webserver on the same machine
 
hi everyone

I have one desktop machine with fedora 11 installed and a Laptop with both linux and Windows Xp. I use the laptop as my client machine.

I want to set up both a dns and web servers on the same machine for testing and practise purposes.

Can someone pliz tell me how to do it bcoz I can set up the webserver but I can't browse the website on the Fedora machine when I use my laptop. I have learnt that I should set up a Dns server. But how?????

Your help will mean a great deal

Thanks

acid_kewpie 09-03-2010 05:20 AM

The two would not have anything in common at all, so I don't follow what issues you're experiencing here. Just set them both up as you'd like them, there's nothing "interesting" about them being on the same machine. It mostly sounds like you actually don't want to set up DNS at all... just access it by IP, or alternatively if you only want access from the one laptop, just add that hostname to /etc/hosts.


All times are GMT -5. The time now is 11:56 PM.