mysql on my website
Posted by: adlez (---.ipt.aol.com)
Date: August 30, 2006 06:49PM

I just downloaded and installed wamp on my computer. I am running windows xp. I have also purchased a domain. I am wondering how to set up mysql on my domain.
Could I just copy the wamp folder to my site? Any help is appreaciated.

--Adlez

Options: ReplyQuote
Re: mysql on my website
Posted by: yfastud (---.cable.mindspring.com)
Date: September 01, 2006 12:38AM

To answer your question directly, create db through sql prompt or phpMyAdmin; however, already installed wampserver means that you've already have a web server apache, mysql server that support mysql, php, xml, html, so on.

All you need is sign up for some free dns services and setup Virtual Host in C:\wamp\Apache2\conf\httpd.conf so your web pages on your computer can be accessed worldwide through your domain name. For example, you can only access these web pages when my computer is on:

[jlbn.com]
[ftp.jlbn.com]
[mail.jlbn.com]
[forum.jlbn.com]

Here is a sample vh setup:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.your_domain_name.com
ServerAlias your_domain_name.com
DocumentRoot C:/wamp/www/your_domain_name
</VirtualHost>

And here is some tips for you:

If using XP SP2, disable Windows Firewall.
If using 3-party Firewall (ie. Norton, McAfee), enable port 80.
If using router, enable portforward port 80 to unit that has wampserver installed.
Through wampserver tray icon, put your server in online mode.

Hope this help

Options: ReplyQuote
Re: mysql on my website
Posted by: adlez (---.ipt.aol.com)
Date: September 01, 2006 02:31AM

Yes it does. Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.