Forum Moderators: mack
- IP = Dynamic with Port 80 Blocked - Using port 8000
- Using NO-IP (Free) to foward and update my IP to [name.servehttp.com:8000...]
- Using Apache HTTP Software 2.0.55
- Running Windows XP Pro
- Domain Name Registered from Godaddy using their free fowarding service.
Currently im hosting one site, but with the same IP i'd like to host multiple sites. i've heard of using virtual hosts, but here my problem. Well, port 80 is blocked by Verizon FIOS... my ISP, so im using port 8000. im using (Free) NO-IP right now to forward my IP. i got virtual host to work on a local level. when i type in [localhost:8000...] and [site1:8000...] i get two different sites. now on a bigger level, i have two domain names registered, currently begining parked at godaddy.com. Right now im using godaddy's free fowarding service to foward the domain name to my IP.
so lets say I have a "www.domain.com" registered from godaddy, they offer the fowarding service, so i've been fowarding it to my no-ip like [name.servehttp.com:8000...] => "my IP:8000", this will open the first webpage at [localhost:8000...] but, how do i get that type of IP to open the second website at [site1:8000...] which is running on the same IP as the localhost. In otherwords, if i manually want to type my IP in the browser it will open up my localhost site (default site), but how do i manually type my IP in the browser to open the second site on the same IP as the first site.
The reasons I haven't changed from the Parked Service from GoDaddy is because im not sure what the NameServers are for NO-IP, and im not sure if they charge a fee for pointing to a CNAME.
I got everything to work on a local level, but im kinda lost on what to do with the DNS or apache for the domain level. I have the general idea of what I want, but I can't get it freely.
Thank You,
-Elka
In Apache you need to define virtual hosts. If you type in the IP of your webserver, you will always get the site that is declared first in your virtual hosts.
You need a domain setup that simply points to your IP, then apache will take care of the rest (assuming that the domain is in virtual hosts).
I tend to setup new domains as cnames since they refer to the A record. If I change the IP of A then the cname automatically updates.
Hope this helps a bit
Thanks for the Quick Replies,
-Elka
[webmasterworld.com...]
I hope some of it will be of use to you. If goes into quite a lot of detail about setting up virtual hosts.
Mack.