View previous topic :: View next topic |
Author |
Message |
drw516 -
Joined: 28 Apr 2005 Posts: 2
|
Posted: Thu Apr 28, 2005 3:22 pm Post subject: HELP- I cant get anything to work right |
|
|
I have been trying to get this server to work so I can view my web pages outside of the computer with the server. I have my computer connected directly to a cable modem (3mb/s). My ISP (charter) gives me a dynamic IP address, however, the IP for my server is obviously something totally different. I have the host set to the (static) IP: 127.0.0.3 and set to listen on port 80. Please tell me what IP I need to get the DNS to go to. Any help would be greatly appreciated, I have tried just about everything. |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Thu Apr 28, 2005 5:55 pm Post subject: |
|
|
first off, I dont think you can set it at 127.0.0.3 seeing as localhost is 127.0.0.1 .
The IP you need to put into the DNS is located here www.aprelium.com/ip .
Also do you have a router? You have to forward ports on your server before people can visit your site. :). _________________
 |
|
Back to top |
|
 |
drw516 -
Joined: 28 Apr 2005 Posts: 2
|
Posted: Thu Apr 28, 2005 10:12 pm Post subject: |
|
|
No. That doesn't work. And, yes, I tried testing it on a computer other than my own. Even so, if I were to have multiple hosts on the same server (I don't yet, but I know I will), how could they all listen on the same IP and there be any chance of the right site coming up? |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Fri Apr 29, 2005 3:56 am Post subject: |
|
|
Whats your ISP? Your ISP may block you from hosting on port 80. And the way multiple hosts work is that ir relys on the fact of what URL was typed. If www.site1.com was typed the web server ( or script ) will be smart enough to go "ok the user wants this webpage and not this one". _________________
 |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Apr 29, 2005 4:41 pm Post subject: |
|
|
drw516 wrote: | Even so, if I were to have multiple hosts on the same server (I don't yet, but I know I will), how could they all listen on the same IP and there be any chance of the right site coming up? |
Virtual hosting in Abyss Web Server X2 lets you host several web sites (belonging to different domains) while having a single IP address and using the same port. We'll explain you how it works with a small example:
* You buy Abyss Web Server X2, and register two top level domains:
mysite.org and mycompany.com . Using your registrar tools, you configure
www.mysite.org and www.mycompany.com to point to your computer's IP address
(for example 111.112.113.114). You don't need to have your DNS server for
this. Your registrar usually offers this service for you when buying the
domain names. If it doesn't, there are some companies that provide the same
service such as http://www.zoneedit.com (free for 5 domain names).
* You declare also a second level domain name to called forum to mysite.org
using the registrar tools. This is usually free of charge once you buy the
top level domain name. You configure forum.mysite.org to point to your
computer's IP address 111.112.113.114 .
* Now you have www.mysite.org, forum.mysite.org, and www.mycompany.com
resolve to your computer's IP address 111.112.113.114 .
* You configure your firewall and/or router to accept connections that
target the web server from the Internet. This is always called "configuring
the router/firewall to accept incoming connections to the server".
* You create a directory for each host on your hard drive where its files
should/are stored.
* In Abyss Web Server X2, you declare three hosts, one which name is
www.mysite.org, the second which name is forum.mysite.org, and the third
with www.mycompany.com as name. Each host will use one of the directories as its Documents Path.
* Now, when someone browse http://www.mysite.org/dir/page.html , its browser resolves www.mysite.org to an IP address using DNS servers (which are interconnected worldwide, so it will contact your registrar's DNS server to
get the actual IP that corresponds to www.mysite.org and then cache it).
* The browser will connect to the resolved IP address 111.112.113.114 (your computer) on port 80. Abyss Web Server X2 will accept the connection and read the request of the browser. The browser will ask the server to give him the page /dir/page.html that corresponds to the host which name is www.mysite.org .
* Abyss Web Server X2 will do the required to get /dir/page.html from the virtual host www.mysite.org and will send the result back to the browser.
By the way, Abyss Web Server X2 can take advantage of several NIC cards if they are available and you can also configure each host to use a different port number. There are no limits and you can configure it to work in any situation. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|