Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Sub-domain, for a local server
genuinek
post 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.
Go to the top of the page
 
+Quote Post
jlhaslip
post 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 Icon

Group: [MODERATOR]
Posts: 4,003
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Download Movies - Free, Legally!(55)
  2. Cheap Domain Collection(9)
  3. The New And Very Good Free Host Server(13)
  4. Gmail: 502 Server Error(22)
  5. Wow Private Server(2)
  6. Free Domain Names(268)
  7. Looking For Free Domain(10)
  8. Private Server Ro .(158)
  9. How To Make A Counter Strike 1.6 Dedicated Server(16)
  10. Free Domain Name(184)
  11. How Do I Make My Own Private Online Server Please Help Me Out.thank You For Your Time.(26)
  12. Runescape 2 Private Server Guide: Part 2(22)
  13. Runescape 2 Private Server: Code/guide 1(11)
  14. Runescape Private Server(69)
  15. Two Lan Ports Problem(3)
  1. [help]create P Server(2)
  2. How To Make Your Own Counter Strike Source Dedicated Server!(36)
  3. Spammers Using My Domain To Send Spam(4)
  4. Private Server(0)
  5. Free Sub Domain Redirection Reseller Question(3)
  6. Domain Problem : This Is Important..(0)
  7. Free Domain(3)
  8. The Only Reason I Choose Ms Sql Server Rather Than Mysql(0)
  9. Dedicated Server Package(1)
  10. How To Install Sql Server Express In Package Deployment With Different Instance Name(0)
  11. My Experience In Using Local Dermatologist(1)
  12. Rsps Hosting?(0)
  13. Print Server Help(0)


 



- Lo-Fi Version Time is now: 8th September 2008 - 01:39 AM