|
|
|
|
![]() ![]() |
Jun 18 2007, 07:08 AM
Post
#1
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 11 Joined: 12-June 07 Member No.: 44,639 |
Is it possible to add a sub-domain to a local web site hosted off my computer. For example, could I add a .tk domain to view my website instead of typing http://localhost in my web browser.
p.s. I am running this off an apache web server. |
|
|
|
Jun 18 2007, 01:21 PM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,003 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
Go to http://httpd.apache.org/docs/1.3/vhosts/ and read about Virtual Name Hosting and the changes required to the Apache Directives file on your machine.<br />and then go to http://httpd.apache.org/docs/1.3/vhosts/examples.html to see examples of configuring an Apache Server with Virtual Hosts using names instead of IP's.
You may require a change to your HOSTS file on your local machine as well. Also, look in the Tutorial Section here and search on XAMPP. Tyssen wrote some information about altering these ini and hosts files to allow "subdomains" as you are requesting. It is simple once you figure out which ini file to mod. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 8th September 2008 - 01:39 AM |