Portal Home > Knowledgebase > Articles Database > Setup DNS
Posted by mystycs, 07-08-2007, 05:33 PM Does anyone know of a tutorial that can teach me to setup a dns on my windows server for apache so instead of using an ip address i can use a domain and it would go to my website. Thanks
Posted by mystycs, 07-08-2007, 06:30 PM anything??
Posted by HD Fanatic, 07-08-2007, 06:33 PM Seems you have quite a bit of questions with a new server. Maybe it's a good idea to hire a server admin to do these for you.
Posted by mystycs, 07-08-2007, 07:24 PM grr i can do it myself if i have a tutorial hehe
Posted by Ooble, 07-08-2007, 08:08 PM I am assuming you already have a domain. The simplest way would be to use a third party solution, freedns.afraid.org or zoneedit.com Create an 'A' Record from the domain to your server IP. Setup a Vhost from apache config files to forward that domain to a particular folder. OR Install your own DNS server and then add a Vhost. http://apptools.com/phptools/virtualhost.php That will help you add the Vhost in Windows Apache.
Posted by mystycs, 07-08-2007, 08:14 PM I have my dns ip's so all i do is add that to the domain and add the virtual thing so it knows which site to go to under which domain?
Posted by Ooble, 07-08-2007, 08:16 PM Yes. Edit the apache Vhost file so that the correct domain gets information from the correct folder. The above tutorial should help you.
Posted by mystycs, 07-08-2007, 08:20 PM One of my other sites is asp though do you know any way how to setup asp for apache?
Posted by Ooble, 07-08-2007, 08:22 PM The link contains information on howto setup ASP on Apache on Windows http://www.apache-asp.org/install.html
Posted by mystycs, 07-08-2007, 08:23 PM Thanks so much appreciated also one more question i have a CMS system is tehre a particular thing im suppose to allow on php.ini to ahve like index.php?blahblah=3363663
Posted by mystycs, 07-08-2007, 08:36 PM Ok well my domain is mystycs.net and i want that to go to the aow folder. NameVirtualHost 127.0.0.1 DocumentRoot "C:\Program Files\GamePanel\Web" ServerName gamepanel.local DocumentRoot "C:\www\aow" ServerName aow.local If i give my domain the dns servers how wil it know which folder or ip address to go to for the aow site.
Posted by mystycs, 07-08-2007, 10:03 PM anyone? just not sure the last step on how the dns is
Posted by mystycs, 07-08-2007, 11:24 PM So if i put this NameVirtualHost 127.0.0.1 DocumentRoot "C:\Program Files\GamePanel\Web" ServerName gamepanel.local DocumentRoot "C:\www\aow" ServerName aow.local How do i get it to go to mystycs.net from aow.local how will it know?
Posted by spaethco, 07-09-2007, 01:53 AM Pretty much anybody can follow a tutorial. The real trouble sets in when you don't understand the actions you are performing and thus have little chance of fixing problems in the future. Do a few Google searches for 'NameVirtualHost'; if you still need help after that, give hiring an admin some serious reconsideration.
Posted by plumsauce, 07-09-2007, 02:24 AM New dns setup is almost an FAQ in this forum. I highly recommend using an external dns provider until you get the hang of things. Also, check your work using dnsstuff.com
Add to Favourites Print this Article