+ Reply to Thread
Results 1 to 5 of 5

Thread: Server

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    28

    Server

     
    Im running an apache server on my computer..


    How do I get subdomains on it?

    like, my website currently is http://xx.xx.xx.xx:8080/

    how do I get a http://something.xx.xx.xx.xx:8080/ ?
    You know you're in love, when you can scream her name off the top of the mountain, and dont care who hears you

  2. #2
    Ultimate Member kenboyles72's Avatar
    Join Date
    Aug 2004
    Location
    Gladewater, TX
    Posts
    1,189
    you need to edit the httpd.conf file. open the file with any text editor such as notepad, ect... browse down and find this selection:

    #
    # Aliases: Add here as many aliases as you need (with no limit). The format is
    # Alias fakename realname
    #
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL. So "/icons" isn't aliased in this
    # example, only "/icons/". If the fakename is slash-terminated, then the
    # realname must also be slash terminated, and if the fakename omits the
    # trailing slash, the realname must also omit it.
    #
    # We include the /icons/ alias for FancyIndexed directory listings. If you
    # do not use FancyIndexing, you may comment this out.
    #
    Alias /icons/ "C:/Program Files/Apache Group/Apache2/icons/"

    <Directory "C:/Program Files/Apache Group/Apache2/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    this is where you need to put your info. say you wanteed to add another directory to your site for example: http://xxx.xx.xxx.xx/docs/.
    then you would type this in:


    Alias /docs/ "the full path to the directory of the files/"

    <Directory "the full path to the directory of the files">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>


    note: i would create a folder in the root directory of your drive, like "C:\Docs" or "C:\Some other folder". that way it would be easier to type in the path.

    example: if you wanted to point http://xxx.xx.xxx.xx/docs/ to the folder "C:\Docs", then where it says "the full path to the directory of the files", type in "C:\Docs" in both places.

  3. #3
    Junior Member
    Join Date
    Nov 2005
    Posts
    28
    Alright, and what about domains?

    This might belong on a new thread but... If I host a DNS server on my server, can i just assign a domain to my computer?

    So that when someone types in www.example.com it goes to http://xx.xx.xx.xx/ ??
    You know you're in love, when you can scream her name off the top of the mountain, and dont care who hears you

  4. #4
    Perfetc Member VHockey86's Avatar
    Join Date
    Jan 2003
    Location
    Maryland Suburbia
    Posts
    4,334
    heh, think of the internet chaos if that was actually possible =). I suppose technically if people were connecting to your DNS specfiically that would work, but to get an actual domain you need to pay to get it registered. Companies like godaddy.com have them dirt cheap these days, i think its only like $5/year for one now.

    You can also get free ones from companies like no-ip.com
    Basically you run a little program on your server that tells no-ip.com whenever your IP changes, and that change is updated on their DNS servers (some routers have this built in these days with some of the popular sites like no-ip and dyndns). So you can have
    http://example.no-ip.com link to your server.
    Last edited by VHockey86; March 21st, 2006 at 01:23 AM.

  5. #5
    Ultimate Member kenboyles72's Avatar
    Join Date
    Aug 2004
    Location
    Gladewater, TX
    Posts
    1,189
    you have to buy and regester a domain name. do a goggle search for "register domain name". i got mine through www.mydomain.com for $7.99 a year. there are some thats a bit cheaper. there are some places that charge up to $50 for domain names, stay away from those. the others that charge less do the same thing. most sites have dns management that allow you to point www.yoursite.com to the ip of your server. thats what i did. or like vhockey said, you can get free domains to.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Setting up a Windows Server 2000 Advance Client-Server network
    By chrissucks in forum Networking and Internet
    Replies: 9
    Last Post: November 21st, 2005, 08:04 PM
  2. Windows 2003 Server terminal Server Domain Problem
    By sensi in forum Applications and Operating Systems
    Replies: 1
    Last Post: January 21st, 2005, 01:02 PM
  3. win2003 server as domain server & workgroup server
    By Marty Wire in forum Applications and Operating Systems
    Replies: 1
    Last Post: August 6th, 2004, 08:12 AM
  4. I have WinXP can i install win2000 server win 2003 server MSexchange server
    By goturk1 in forum Applications and Operating Systems
    Replies: 4
    Last Post: June 14th, 2003, 12:17 PM
  5. VB Desktop Application Accessing SQL Server on Web Server
    By imd in forum Webmastering and Programming
    Replies: 1
    Last Post: October 24th, 2002, 01:21 PM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews