Thread: Server
-
March 17th, 2006, 09:27 AM #1Junior 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
-
March 20th, 2006, 11:00 PM #2
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.
-
March 21st, 2006, 01:03 AM #3Junior 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
-
March 21st, 2006, 01:17 AM #4
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.
-
March 21st, 2006, 01:25 AM #5
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
-
Setting up a Windows Server 2000 Advance Client-Server network
By chrissucks in forum Networking and InternetReplies: 9Last Post: November 21st, 2005, 08:04 PM -
Windows 2003 Server terminal Server Domain Problem
By sensi in forum Applications and Operating SystemsReplies: 1Last Post: January 21st, 2005, 01:02 PM -
win2003 server as domain server & workgroup server
By Marty Wire in forum Applications and Operating SystemsReplies: 1Last Post: August 6th, 2004, 08:12 AM -
I have WinXP can i install win2000 server win 2003 server MSexchange server
By goturk1 in forum Applications and Operating SystemsReplies: 4Last Post: June 14th, 2003, 12:17 PM -
VB Desktop Application Accessing SQL Server on Web Server
By imd in forum Webmastering and ProgrammingReplies: 1Last Post: October 24th, 2002, 01:21 PM



LinkBack URL
About LinkBacks



Reply With Quote

Did they? That's one of the questions I would like answered. I don't know. I would think that if I were talking to a suspect who was being investigated for a triple homicide where the victims all...
The FBI has killed another person...