logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Pointing domain name to IP address
Author
BobPOW



Joined: 24 Jan 2010
Posts: 2
Location: Brownsburg, Indiana

PostPosted: Sun 24 Jan '10 19:09    Post subject: Pointing domain name to IP address Reply with quote

Hi.

I have a website on my Apache server. Typing in localhost in my browser brings up my site.

I got a domain name. How do I set it up so I can type my domain name in my browser to bring the site up?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7407
Location: EU, Germany, Next to Hamburg

PostPosted: Sun 24 Jan '10 21:22    Post subject: Reply with quote

Only from your LAN or from the internet or LAN and internet?
Back to top
BobPOW



Joined: 24 Jan 2010
Posts: 2
Location: Brownsburg, Indiana

PostPosted: Mon 25 Jan '10 2:53    Post subject: Reply with quote

James Blond wrote:
Only from your LAN or from the internet or LAN and internet?


I don't understand what you are talking about.

I'm not sure if the entire internet can access my page. You can try typing in my IP address to see if it works.

I want to make it so you type in my domain name and get to my page.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7407
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 25 Jan '10 21:17    Post subject: Reply with quote

OK, first you have to configure your DNS server that the domain name points to your external IP.
Second you have to set the server name to your domain name or create a virtual host with that domain name.
If there is a router between your server and the internet, make sure that you use portforwarfing (port 80 for http and port 443 if you use https (SSL)).

if you only want to access your apache with that name from a computer in your network you could also modify the hosts file in windows\system32\drivers\etc

if you still have a question please ask again.

Well LAN is your internal network.
Back to top


Reply to topic   Topic: Pointing domain name to IP address View previous topic :: View next topic
Post new topic   Forum Index -> Apache