How-to host domains

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

How-to host domains

Postby spike900011 » 05. January 2005 05:19

I've been trying to figure this out for the last couple days but how do I make it if someone registers a domain at somewhere like domain.com how would I be able to set it up that they would be able to use the domain that they bought on my server?
Last edited by spike900011 on 05. January 2005 05:49, edited 1 time in total.
spike900011
 
Posts: 3
Joined: 05. January 2005 05:00

Re: How-to host domains and subdomains

Postby taustin » 05. January 2005 05:48

On your server, you need to learn how to set up virtual domains.

Someone, somewhere, has to run a DNS server to handle the domain records. This can easily run on the same machine as Xampp, since it doesn't take much in the way of system resources. There are also free services available.
taustin
 
Posts: 150
Joined: 24. September 2004 00:23
Location: Huntington Beach CA

Postby spike900011 » 05. January 2005 06:01

alright I sort of get what your saying, I hope I get this figured out so I can start my hosting!(this is the last step I need) If I'll have any more questions I post. But if someone could point me to a website where I could learn more about this it would be appericated.
spike900011
 
Posts: 3
Joined: 05. January 2005 05:00

Postby taustin » 05. January 2005 19:51

spike900011 wrote:alright I sort of get what your saying, I hope I get this figured out so I can start my hosting!(this is the last step I need) If I'll have any more questions I post. But if someone could point me to a website where I could learn more about this it would be appericated.


More about which one?

http://www.apacheweek.com/features/vhost is a decent discussion of how to configure virtual hosts on apache. (Doesn't xampp's default http.conf already use virtual hosts?). The file you need to edit, http.conf, is in c:\apachefriends\xampp\apache\conf\ (unless you didn't use the defaults when you installed it).

http://www.tutorialized.com/tutorial/Co ... pache/1137 has a lot of info, too, including how to deal with ZoneEdit.com for DNS. ZoneEdit, however, is only free for one (or maybe two or three) domains. If you want to host for others, you'll really need to run your own DNS servers eventually. (However, setting up a DNS server is not for the faint of heart, and you must have two public IP addresses to do so.)
taustin
 
Posts: 150
Joined: 24. September 2004 00:23
Location: Huntington Beach CA

Postby foxxx428 » 06. January 2005 08:35

Okay so they have a domain name and you want to host a website for them on your machine right? Here's how mine is set up. They will have some sort of a control panel through who the domain is purchased from. They should see somewhere in there (mine is under DNS Management - Hosts) Hostname, Address, Record Type and MX Pref. Lets assume your IP Address or router address (not your network IP address) is 65.65.655.655.
1. Hostname: www Address: 65.65.655.655 Record Type: A MX: 10
2. Hostname: @ Address: 65.65.655.655 Record Type: A MX: 10
The third part is where I have trouble but the website itself works. Step 3 is mail. I have an SMTP server set up but my forum e-mail only half works. I'll post what I have and hopefully someone can correct the error.
3. Hostname: mail Address: 65.65.655.655 Record Type: MXE MX: 10

That will direct the domain name to the ip address that your server is hosting the site from. I hope that was what you were looking for.
User avatar
foxxx428
 
Posts: 33
Joined: 20. December 2004 22:21

Postby spike900011 » 09. January 2005 21:31

I just figured out how to do virtual hosts and found a couple of domain services that do domain forwarding(I think that's what it's called) So there's no need for this topic anymore!
spike900011
 
Posts: 3
Joined: 05. January 2005 05:00

Postby upgrade223 » 05. February 2005 03:13

Any good tuts for Windows... the tutorialized.com tutorial was linux-based...seeing as this is the XAMPP for Windows thread, some tuts on setting up Virtual Hosts on Windows would be helpful. I tried following the instructions from Apache, but the nameserver change from my registrar hasn't happened yet...though I made the <VirtualHost*> changes as instructed by Apache, my localhost became unavailable...which raises the question...can my localhost pages (in XAMPP\htdocs\) be reached if virtual hosts are added to the httpd.conf...or is it vhost.conf?

I am currently trying ZoneEdit (http://www.zoneedit.com) as my ip address forwarding and using DirectUpdate for my Dynamic DNS. Anybody have experience with ZoneEdit's perl script (http://www.zoneedit.com/doc/zedynip.pl) and any suggestions on how to make the script update to ZoneEdit every five minutes (cron-like?). Thanks a million!
upgrade223
 
Posts: 3
Joined: 05. February 2005 02:51


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 124 guests