Forum Moderators: mack

Message Too Old, No Replies

Home Webhosting Questions

home webhosting

         

Elka

7:01 am on Feb 23, 2006 (gmt 0)

10+ Year Member



Hello,

- 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

scintex

1:19 pm on Feb 23, 2006 (gmt 0)

10+ Year Member



Hi,

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

Elka

3:15 pm on Feb 24, 2006 (gmt 0)

10+ Year Member



My IP is dynamic so im using NO-IP.com to update it. I'm not sure what the NameServers are for NO-IP, so im just using the free fowarding service from GoDaddy's park page to foward my domain to my IP. When it forwards to my IP, it still only brings up the first page, even though i have Virtual Hosts set up.
on a testing local level, i can view two different webpages, [site1:8000...] is one webpage and [localhost:8000...] is another webpage. How do i assign something that will point my single IP that's dynamic and updated by NO-IP.com to each of those different webpages?

Thanks for the Quick Replies,
-Elka

mack

10:30 pm on Mar 1, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Home hosting can be a great education, and quite a learning experience. I hosted from home for a couple of years on one of my projects. I wrote a thread about my experiences.

[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.