I would like to give the files in my Apache Server a public domain name. How would I go about doing this?
I am running Windows 7. Apache Web Server. I am very new to this.
migrated from stackoverflow.com Oct 1 '11 at 21:40
This question came from our site for professional and enthusiast programmers.
closed as off topic by Iain, Holocryptic, mailq, Wesley, MDMarra Oct 1 '11 at 22:29
Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Checklist for running a home server:
Answer for a local homeserver
Since you're running Win7, I'll assume a home environment. If you're fine with a local domain name like
For that to work, you need to edit
You also need to edit your server configuration (
Restart your webserver and you'll be ready to use your new local domain.
If the above did not work (i.e. you just get "localhost" back as domain name in the footer), you've probably a Virtual Host setup. Locate the configuration file in your Apache installation and edit the related section. See http://httpd.apache.org/docs/2.2/vhosts/examples.html
You need to do a few things:
Those are all pretty generic answers, but with the data you've given it's hard to be more specific.