XAMP/Apache config?

software development


hey everyone…I’m hoping someone on here is using XAMP for local dev or knows enough about Apache to help me out.

My localhost is working fine, but it’s my dev environment. I need to be able to see the actual url of the site online and right now it’s pointing to my localhost, so I get the stupid Apache “It works” message instead of the site. Anyone know where I can change the settings? I assume it’s somewhere in httpd.conf, but after that I’m clueless.

Angela Gann
CrimsonDryad Web Design Services
Web Design, Custom Software Development


I don’t really understand your questions.

It seems to me that you have a site working in your local machine and you want to publish it to the WWW from your local machine. Is that what you are trying to do?

If so, you definitely need a DNS service. If you do not want to upload your site to DH ( I do not know why), you can use some free DNS service like zoneedit.com to host the site locally from your machine. Once you activated zoneedit, others are able to visit the site from WWW.

If you just want to launch the site from your machine, you can type localhost/foldername. If you want to map the name to another name, you can edit in httpd.conf file. This article may help you on how to set up

Save $97 (MAX Discount) with code: [color=#CC0000]97YES[/color] Sign Up NOW or More Codes Here


What platform are you using? Linux, Windows XP, Windows Vista, or Mac Os X?

For Windows XP:

Edit C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS and add an entry for IP with a hostname of your choosing.

  1. Add a VirtualHost in the Apache server config for that hostname.

  2. Run ‘ipconfig /flushdns’ in a Command Prompt session and restart Apache

That’s all there is to it IIRC. Keep in mind though that when mapping a hostname that exists on the Internet, software on your computer will be accessing your machine locally instead. One might want to employ batch files or scripts to automate swapping or changing the HOSTS file.

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7