httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvz <>
Subject [users@httpd] Apache, Virtual Hosting, Dymamic IP, DNS2Go, GoDaddy
Date Fri, 14 Apr 2006 12:33:13 GMT
Thx to everybody's help in this regard.
This seems to work:
Had to change the forwarding in godaddy to
and on my local pc the hosts files to

As I am also experimenting with NetTalk4 WebServer on the same PC you 
may not get the results you may expect if you try and see these 
webpages. may give you a NetTalk4 page from 
time to time.
The new improved script is:
NameVirtualHost *:80
<VirtualHost *:80>
       DocumentRoot "C:/_MySites/docs/realwebonlinenet"
   DirectoryIndex index.html index.html.var index.htm index.php
   ErrorLog C:/_MySites/logs/realwebonlinenet-error.log
   CustomLog C:/_MySites/logs/realwebonlinenet-access.log common
Listen 81
NameVirtualHost *:81
<VirtualHost *:81>
       DocumentRoot "C:/_MySites/docs/realftpnet"                       
   DirectoryIndex index.html index.html.var index.htm index.php
   ErrorLog C:/_MySites/logs/realftp-error.log
   CustomLog C:/_MySites/logs/realftp-access.log common
Listen 82
NameVirtualHost *:82
<VirtualHost  *:82>          DocumentRoot 
"C:/_MySites/docs/realsmsnet"                       ServerName
   DirectoryIndex index.html index.html.var index.htm index.php
   ErrorLog C:/_MySites/logs/realsms-error.log
   CustomLog C:/_MySites/logs/realsms-access.log common

jvz wrote:
> As I think about it, I think the easiest thing would be to forward your
> other domains to and realwebonline:82
> Then in Apache you can use mod_rewrite to do redirection from 
> realwebonline:81 to, etc.
> I wish I had time to help you figure out the details!
> --Larry
> jvz wrote:
>> Thx! It does make sense!
>> Larry Flathmann wrote:
>>> Hi Johan,
>>> It looks to me like the problem is not with Apache, the problem is 
>>> with your DNS forwarding.
>>> If you forward another domain to, then Apache is 
>>> going to receive a request for the realwebonline website, and Apache 
>>> is going to respond with the realwebonline website.
>>> I'm not familiar with Dynamic DNS forwarding, but to get it to work 
>>> you have to direct your DNS to the ip address of your server, not to 
>>> the domain name of
>>> One workaround that you might try is to do your DNS forwarding to 
>>> different port numbers. Then at your router or in Apache you could 
>>> distinguish between the different websites by port number.
>>> Hope that helps!
>>> Larry
>>> jvz wrote:
>>>> Hi
>>>> Have been trying to solve this on the comp.lang.clarion News Group 
>>>> but to no avail.
>>>> I will just post some of the replies.
>>>> ===
>>>> Hi
>>>> Apache, Virtual Hosting, Dynamic IP, DNS2Go, GoDaddy.
>>>> I am having problems with Virtual Hosting.
>>>> points to the Name Servers of DNS2Go i.e.
>>>> etc. as suggested by DNS2Go.

Kind Regards,
Johan van Zyl
JVZ Systems CC/
BOX 3469
Somerset West
Tel: +27 (0)21 851 7205
Fax: 088 021 852 2387
Cell: +27 (0)82 875 4238 <> <%5C%22>


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message