View Full Version : Setting up domain with apache?


Houie
28th January 2006, 08:21 PM
K well I have a yahoo domain and I have apache so right now my url is http://localhost/ and I pointed the domain to my ip and it didnt work! I am using vbulletin (a forum) anyone know how to fix?


Thanks!:)

Derek
28th January 2006, 09:05 PM
You need to setup a DNS server on your server thats running Apache. Then setup nameservers with your registrar, and it should work.

Derek

EDIT: You might also want to post here (http://www.vbulletin.com/forum/forumdisplay.php?f=14) to get help with setting it up.

turblety
31st January 2006, 12:48 AM
You need to go into:
E:\WINDOWS\system32\drivers\etc\

From there edit the file called hosts and add in a new entry with 127.0.0.1 pointing to yahoo.com or whatever.

Then configure your apache.

Hope this helps, (of course will only work on a Windows based system)

Mark

mf
31st January 2006, 02:36 AM
You need to set up a vhost in your apache config (what Derek says is basically false). I don't have ssh access right now so I can't give you an example config but it should be documented pretty well in the template config file that you got with Apache.