Forum Moderators: phranque
Welcome to WebmasterWorld!
OK, I'll start the ball rolling:
What version of Apache are you on?
Where is your name server?
Have you configured a DNS A record to point to your public IP address?
Is your router (gateway) configured to forward requests from the public IP address (the internet) to your local machine?
Have you defined a ServerName in httpd.conf yet?
You will actually need two different kinds of setup: One that allows the public to access your site from the internet, and another simpler one that will allow you to access your site from your local area network. This latter can be accomplished by assigning your domain name to the IP address of the server computer in the 'hosts' file (no extension) of each computer on your LAN. The former involves setting up your DNS settings properly, so that internet users can type your domain name to reach your IP address.
Jim
When it comes to server's I am really confused..
I have a router downstairs with my other computer (on my network) and so far I've changed my settings to private port:80 public port:80 I don't know if this is right, If my router is connected to a computer in my network and not mine is this okay? As for the rest I havn't because I have no idea how to do them. I havn't configued anything in the file.
Thanks
It will work when I type [localhost...] or my gateway ip but not my domain.
This sounds like a DNS issue.
In simple terms, DNS is a system whereby domain names are recorded against their IP addresses, a bit like a phone directory. When you type in a domain name to your browser, the browser asks the local DNS computer for the corresponding IP address, and then accesses that IP address.
You have a domain name, you have an IP address for your server, now you need to tell the world's DNS servers that your domain name points to your IP address. I recommend you go back to the people who rehistered your domain name and ask them to help you with this.
Matt
One question: Would I forward it to my LAN or WAN?
As I mentioned, a "domain name" is (in simple terms) an easy way of referencing an IP address. Like tekephone numbers, all IP addresses are unique. BUT in a LAN, you can use the same IP addresses as someone else in the world, just like on a private in-office telephone exchange you can use whatever numbers you like.
In WWW terms, your LAN probably has a single IP address which is supplied by your ISP, and which is assigned to your router (that box your PCs plug into bia their network cables). It is this IP address, the one allocated by your ISP, that you assign to your domain name. When a request comes along from a far-off computer, it gets your IP address from the DNS record for your domain name, and the request arrives at your router, which in turn by some magic (<g>) routes the request to the PC running the http server (Apache).
Regards
Matt