You would add to the httpd.conf "NameVirtualHost ipaddr:port" then:

<VirtualHost ipaddr:port>
ServerName hordebusters.net
DocumentRoot /path/to/files
...
</VirtualHost>

As for DNS, you would either need to use a DNS service and setup an A record
set to your server IP address.  If you want to host your own DNS, you'll
need to get a DNS service running on your PC, setup the nameservers, and
need multiple IP addresses (two).

Check out http://httpd.apache.org/docs/2.2/vhosts/ for VirtualHost help.

----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau   


-----Original Message-----
From: Jeffery Poblocki [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 21, 2007 6:29 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Newbie problems, trying to get Apache HTTP Server
working

so if i whave a registered site say hordebusters.net i have to put in a 
virtual host to get it to display???  what about the dns nameservers and all

of that.
----- Original Message ----- 
From: "Graham Frank" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Saturday, July 21, 2007 5:57 PM
Subject: RE: [EMAIL PROTECTED] Newbie problems, trying to get Apache HTTP Server

working


> Hello,
>
> The file you are seeing is the index.html file stored in ~httpd/htdocs.
>
> To setup domains, you need to add <VirtualHost> directives to your
> ~httpd/conf/httpd.conf file.
>
> Also, where are you hosting this?  From your home, or elsewhere?  Many 
> ISP's
> block their clients from hosting web servers unless they have a static IP
> with them (which they usually charge an arm and a leg for).  You can get
> around this by changing the port that Apache runs on to something like 
> 8080
> (e.g. http://yourdomain:8080/).
>
> Also, if you have a firewall up then make sure that it isn't blocking
> incoming connections to port 80.
>
> ----
> Graham Frank
> Neoservers LLC - Founder and Owner
> Ph: (608) 359-1593
> Member of the Better Business Bureau
>
> ----- Original Message ----- 
> From: "Karri K." <[EMAIL PROTECTED]>
> To: <users@httpd.apache.org>
> Sent: Saturday, July 21, 2007 5:36 PM
> Subject: [EMAIL PROTECTED] Newbie problems, trying to get Apache HTTP Server
> working
>
>
>>
>> Ok. I am a newbie, trying to set up a Apache server, so I, for example,
>> wouldn't have to use MegaUpload and similars if I want my friends to get
>> some files.
>> So, I'm running Slackware Linux 12.0, and I downloaded the Apache 
>> sources.
>> They compiled ok, and I got to the point where "Hey, it worked!" site
>> shows
>> up on http://localhost/. But, the thing is I don't know how to modify 
>> this
>> page (tried editing index.html in htdocs folder), and second, my friends
>> can't see even this page if they point their browsers to my ip. That 
>> told,
>> I'm just gonna have to wait for someone to help me..
>> I would be really, really thankful for any advice!
>> -- 
>> View this message in context:
>>
>
http://www.nabble.com/Newbie-problems%2C-trying-to-get-Apache-HTTP-Server-wo
> rking-tf4123401.html#a11726588
>> Sent from the Apache HTTP Server - Users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>   "   from the digest: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to