rick.emmet Posted June 21, 2012 Share Posted June 21, 2012 Hi Everyone, I'm developing an app on an XP Pro machine running XAMPP. I just connected my MacBook Pro and PC together so that I may view the pages (and check the functionality) on a Mac. I would like to have my DNS server on the PC resolve my web address (www.someDomainName). I have never done this - can anyone suggest an article on the subject? Thanks much! Cheers, Rick Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/ Share on other sites More sharing options...
requinix Posted June 21, 2012 Share Posted June 21, 2012 For starters, do you actually have a DNS server running on your PC? Which one? Have you considered just editing the hosts file? Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355932 Share on other sites More sharing options...
The Little Guy Posted June 21, 2012 Share Posted June 21, 2012 I was able to get my Windows DNS server setup with this tutorial: http://alex.charrett.com/bind-on-windows-mainmenu-3 Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355940 Share on other sites More sharing options...
xyph Posted June 21, 2012 Share Posted June 21, 2012 Just modify your hosts file. There's no sense setting up a DNS for two machines and a single domain. BTW guys - You're being redundant, when you say DNS server, it's redundant Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355956 Share on other sites More sharing options...
The Little Guy Posted June 21, 2012 Share Posted June 21, 2012 haha D: Domain N: Name S: Server Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355958 Share on other sites More sharing options...
Pikachu2000 Posted June 21, 2012 Share Posted June 21, 2012 Just modify your hosts file. There's no sense setting up a DNS for two machines and a single domain. BTW guys - You're being redundant, when you say DNS server, it's redundant Like when people say, "ATM machine" . . . Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355962 Share on other sites More sharing options...
xyph Posted June 21, 2012 Share Posted June 21, 2012 PIN number? Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355991 Share on other sites More sharing options...
requinix Posted June 22, 2012 Share Posted June 22, 2012 LCD displays. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1355995 Share on other sites More sharing options...
scootstah Posted June 22, 2012 Share Posted June 22, 2012 GNU Am I doing it right? Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356007 Share on other sites More sharing options...
Philip Posted June 22, 2012 Share Posted June 22, 2012 I win!: %APR A.M. in the morning ABM missile ABS system AC current ACT test ADSL line APL programing language BASIC code CAD design CNN news network DC current DMZ zone DOS operating system GMT time GOP party GRE exam HIV virus HTML language ISBN number ISDN network LAN network LED diode NATO organization PC Computer Please RSVP RAM memory SAT test SCSI interface UPC code VIN number I might have erm, cheated. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356009 Share on other sites More sharing options...
scootstah Posted June 22, 2012 Share Posted June 22, 2012 Well, that game is ruined. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356011 Share on other sites More sharing options...
Philip Posted June 22, 2012 Share Posted June 22, 2012 Yeah!! Suck it losers! On a sadder note.. I never realized how many of those I've said... Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356014 Share on other sites More sharing options...
Pikachu2000 Posted June 22, 2012 Share Posted June 22, 2012 Yeah!! Suck it losers! On a sadder note.. I never realized how many of those I've said... You're like the little brother I never had wanted. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356027 Share on other sites More sharing options...
Doug G Posted June 22, 2012 Share Posted June 22, 2012 BTW guys - You're being redundant, when you say DNS server, it's redundant How so? DNS Servers are but one component of DNS. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356053 Share on other sites More sharing options...
kicken Posted June 22, 2012 Share Posted June 22, 2012 haha D: Domain N: Name S: Server System FTFY. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356057 Share on other sites More sharing options...
The Little Guy Posted June 22, 2012 Share Posted June 22, 2012 haha D: Domain N: Name S: Server System FTFY. But then I wouldn't have been redundant. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356135 Share on other sites More sharing options...
Mahngiel Posted June 22, 2012 Share Posted June 22, 2012 But then I wouldn't have been redundant. But then xyph couldn't have opened the door for Philip to ruin the game. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356159 Share on other sites More sharing options...
Philip Posted June 22, 2012 Share Posted June 22, 2012 But then xyph couldn't have opened the door for Philip to ruin the game. But then I couldn't have done my job as a bully! Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356160 Share on other sites More sharing options...
xyph Posted June 22, 2012 Share Posted June 22, 2012 I think this thread has officially been derailed. You're welcome Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356185 Share on other sites More sharing options...
Philip Posted June 22, 2012 Share Posted June 22, 2012 I'm just here for post count. Wait, did I say that out loud? Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356198 Share on other sites More sharing options...
Mahngiel Posted June 22, 2012 Share Posted June 22, 2012 I'm just here for post count. +1 Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356199 Share on other sites More sharing options...
scootstah Posted June 22, 2012 Share Posted June 22, 2012 I'm just here for post count. Says the guy with database access. Who would know? Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356226 Share on other sites More sharing options...
xyph Posted June 22, 2012 Share Posted June 22, 2012 I'm just here for post count. Wait, did I say that out loud? I flaunt my post count on my resume. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356239 Share on other sites More sharing options...
Philip Posted June 22, 2012 Share Posted June 22, 2012 Bitchin'. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356242 Share on other sites More sharing options...
rick.emmet Posted June 22, 2012 Author Share Posted June 22, 2012 You Guys!! I didn't mean to start such a lengthy discussion on acronyms! To funny! So as per usual, when ever I start something new, I don't even know what I don't know. Your help is most appreciated, because when I Googled xampp and DNS servers, I got some strange info, "First you must take every file you want to be seen by other computers out of htdocs and put them in a new DNS folder..." What?! I figured that it would be simpler, the suggestion to change my host file makes more sense. I just read an article on the subject and it says that I must add a line of code to the bottom of my "host" file at C:\WINNT\system32\drivers\etc. Of course, there is a line at the bottom of the file that reads, "127.0.0.1 localhost". Is it a best practice to have a second line after this with my website name, "127.0.0.1 testSite.local" (and any others that should wish to create) or should I instead modify the existing line of code? I suspect the former to be the case. Also, do I write the test site name like "testsite.com.local" or" testsite.local"? Of course I will write the code to the Apache configuration file at C:\xampp\apache\conf\extra. Thanks for your time! Cheers, Rick PS Yes, I do have a DNS server (see, you got me doing that again!), it comes with the XAMPP installation. Quote Link to comment https://forums.phpfreaks.com/topic/264577-setting-up-a-dns-server/#findComment-1356252 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.