genuinek 0 Report post Posted June 18, 2007 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. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted June 18, 2007 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. Share this post Link to post Share on other sites