Using a domain

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Using a domain

Postby MrXander » 06. December 2007 22:32

Can anyone point me in the right direction of how to direct my own .com domain to my xampp server please??
MrXander
 
Posts: 2
Joined: 06. December 2007 22:28

Postby mrstarware » 06. December 2007 22:33

Make sure your ports and things are forwarded on your router (or activate the dmz). Then use the IP address for your computer as the IP to connect to.

Should work, I just tested my uni.cc :D
mrstarware
 
Posts: 2
Joined: 06. December 2007 22:23

Postby MrXander » 06. December 2007 22:34

But my domain requires two nameservers... where would I find those?
Port forward is set... I'm just confused!!
MrXander
 
Posts: 2
Joined: 06. December 2007 22:28

Postby Izzy » 06. December 2007 23:40

A search in the Xampp for Windows forum, category Apache Friends in English, using the keyword nameservers may give some clues and example solutions - also see and read my next post that tries to give a simple explanation of the DNS mystery.


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

DNS and NameServers Explained

Postby Izzy » 07. December 2007 05:34

NameServers and the Domain Name Service

Typing a URI (Internet Address) in a browser is like someone giving you a street address in another city in another country which would be almost impossible to find without a set of maps, or even better still, a GPS.

The DNS - Domain Name Service is a set of dynamically created maps of every Internet address on the Internet.

Via the DNS, you will be sent to the location (URI) you typed in your browser no matter where it is on the Internet - your ISP is involved in providing and maintaining a DNS Server that is again automagically and dynamically updated very frequently with current data from all the domain name registrars on the Internet - no mean task.

Although possible, it is not practicable nor advisable to have a DNS server on your own PC - best left to the current system that is reliable and tested.

You domain name registrar is heavily involved in this process and, without whom, no one would be able to find the address of the domain name you have just registered there - as you now know.



Here's a very simple explanation of how it all works:
1. You purchase your domain name (or acquire a free one) from a domain name registrar.

2. You then purchase, or otherwise obtain, a hosting account with a hosting service provider.

3. This hosting provider supplies you with, normally, 2 nameservers and their addresses:
ns1.nameserver.com - 123.123.123.123
ns2.nameserver.com - 123.123.123.124


4. You go back to your domain name registrar and enter these nameserver details where applicable, in your domain name control panel for example.

5. Your web site, after a short delay, will then be available and served to the Internet from your hosting provider.



Now, if we cut out the hosting provider and use XAMPP on your PC, then we have to replace the domain name service your hosting provider supplied, with an alternative method.

This can be done by specialist DNS providers on the Internet, and one of the Domain Name Services (DNS) that I use is called Zone Edit - zoneedit.com, which specializes in providing DNS service for people who own their own domain names - the file that contains the details of the DNS for your domain name is called a Zone File.

(There are other DNS providers like freedns.org - no-ip.com, and a Google search will more than likely find many more.
Some will even provide a sub-domain for free if you don't own your own domain name.
Another great feature of this kind of service is the ability to use a dynamic IP if your ISP provides this instead of a static IP - with a feature to update this dynamic IP automagically as and when it changes
).

Once you have signed up for one of your 5 free accounts at Zone Edit, you will be given those all important nameserver details that, once again, will have to be entered in the domain name registrar's applicable location.
(Most nowadays have a domain name control panel for this and the other configuration functions associated with a domain name).

For example these are the nameservers for one of my accounts at Zone Edit:
ns7.zoneedit.com 216.122.7.155
ns9.zoneedit.com 66.240.231.42


Once these details have been established at your domain name registrar and you have given Zone Edit the current IP of the PC your XAMPP servers are running (you have started the Apache server), then and only then, will I, or anybody else for that matter, be able to find your web site from the Internet typing http://www.yourdomainname.com in a browser.

I hope this little post has been able to explain some of the mysteries surrounding the Domain Name Service and the need for nameservers - and of course your original question - Where do you get 'em?

Good luck with it and please post back if you manage to sort it all out and are successful in achieving what you set out to achieve.


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby LALING » 07. December 2007 06:15

where is your domain registered? if it's thru godaddy, you have control over your zone, you can point it to your server. let me know.
LALING
 
Posts: 1
Joined: 07. December 2007 06:12


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests