Sub-domain - for a local server

free web hosting
Open Discussion > CONTRIBUTE > Computers > Computer Networks

Sub-domain - for a local server

genuinek
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.

Reply

jlhaslip
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.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. fatal x private server download "runescape 2" - 730.15 hr back. (2)
  2. sub domain apache xp - 899.70 hr back. (1)
Similar Topics

Keywords : , domain, local, server

  1. Print Server Help
    problems with router/print server (0)
  2. Webmail Server Script
    (2)
    Hi Guys! A friend of mine came to me asking me to help him write code for his server so that
    his clients can go on his site and create a webmail account. I told him I'm not a programmer but
    I googled the subject. I ran into SquirrelMail and was impressed with what it could do. Going
    through the documentation I saw this QUOTE There are only two requirements for SquirrelMail:
    A web server with PHP installed. PHP needs to be at least 4.1.0. Access to an IMAP server which
    supports IMAP 4 rev 1. I have php5 running on my XPproSP3 but I don't know....
  3. Two Lan Ports Problem
    cant connect to counter-strike server (3)
    here....i think i know the problem...but i cant find the solution.... I use windows XP SP 2 ...Asus
    motherboard.. I use integrated Ethernet port (NVIDIA nforce controller) to connect to the hostel LAN
    and used the same connection to get internet (using proxy). I played counter-strike without any
    problem... Everything worked fine until i took a direct ADSL internet connection... So i installed
    a separate ethernet card (INTEX rtl8139D) which i use to connect to the internet... So now i have
    two LAN ports ...one for internet and one for LAN... The problem is...i cant con....
  4. I Have Install Windows 2003 Server
    I want multiple user to login my server (5)
    I have install windows 2003 server and some application like iis, share point, etc.my development
    time want remote desktop for few user so I want multiple user to login my server but I have not
    install active directory and I don’t want to install so tell me the best way to resolved the problem....
  5. Unable To Connect Remotely To My Server
    (9)
    Well ok. let me try to draw this out in paint.. this is how our routers are set up.. I beleive
    that is how it goes.. Ok.. I am trying to run both an XAMPP server, and a Ventrilo server. I
    connect to it fine with 127.0.0.1 (vent server and xampp) but nobody else can connect with my IP
    address, not even remotely to my router (router control panel with password and IP and port) How do
    i fix this? Ghost rider ( i think that's his trapian name) said it might be because the modem
    can't choose what router to send the IP to... any solutions guys? Need more deta....
  6. Make A Home Server In Your Pc
    (11)
    To creat a home server you can visit http://softvnn.com/forums/showthread.php?t=10633 to know how
    to creat a home server Note: It support Vietnamese Language If You Don't understand please visit
    google and enter home server key....
  7. I'm Looking To Buy A Router And Print Server
    But I don't know what kind to buy... (3)
    I'm finally getting broadband internet at my house after 5 years /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> . I need to set up a network, but I don't
    know what kind of router/switch to buy. I'm going to have a network printer, satellite dish, and
    2 computers hooked up to it. Any ideas what kind to buy? Also, I need a print server for a HP
    DeskJet 940. I have no clue where to start on looking. Anyone have a good one, and would like to
    share what kind it is?....
  8. Domain Controler ~vs~ Workgroup
    (4)
    I thought I would start a thread to see what you guys think of the two technologies. I am
    contemplating going from 5 workgroups/subnets to one or possible 3 central domains on our network
    consisting of around 130 PC's. I know that a domain is alot easier to control/administer once
    its set up. Its just this is the way this network was set up when I was hired and I have been
    dealing with it "as-is". It sure would be nice to only worry about 1 server and all of its user
    groups rather than 130 individual PC's. I have also found some good deals on thin clients by WY....

    1. Looking for , domain, local, server

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for , domain, local, server

*MORE FROM TRAP17.COM*
advertisement



Sub-domain - for a local server



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE