you will need dynamic dns setup to make this work. you will need to signup for a dynamic dns service like zoneedit.com or everydns.net. you will need to tie your ip address to your domain name using what is called an A record.
if you dont have any idea what i am talking about, then sign up for an account at
www.everydns.net and then give me your user id, password, your domain name, and ip address and i will take care of that for you.
do not post your user id and password here in this forum. use the
contact me form on my blog to send me your details:
Contact Me Formwhen you sign up for an account at
everydns.net, they tell you that you need to set your domain names name servers to:
ns1.everydns.net
ns2.everydns.net
ns3.everydns.net
ns4.everydns.netyou need to login to wherever you registered your domain name and set your domain name to use these name servers.
if you use GoDaddy like i do, this is an easy process. just login to your account, go to your domain name overview page. click on the domain name you want to use. now click on the nameserver link in the menu. now enter these 4 nameserver addresses and click on ok. one note on changing nameserver settings. if you do not use GoDaddy, it will take 12-24 hours for your domain name to propagate through the system, and will until it has been fully propagated. if you use godaddy, it only takes a few minutes, so you should be ready right away.
to see if the nameservers have propagated, test your domain name at
dnstools.com. when it you see ns1.everydns.net, ns2.everydns.net, ns3.everydns.net etc then your domain name has fully propagated.
you now need a place on your server for all your virutal host accounts. i put mine in a folder called
users the wamp directory:
c:\wamp\usersi then create a separate folder for all the domain names. to make things easy to remember and easier to edit files, i suggest you use the domain name as the folder name. so, for the example domain name i use in the virtual host example i use below, i use the domain
domain.com. so, create a folder called
domain.com in the users folder like this:
c:\wamp\users\domain.comnow create a folder called
public_html and
logs in the
domain.com folder. the
public_html folder will be the document root for that domain, so put all your domain name's website files there (html, css, php, images, etc). the
logs folder is where you apache access and error logs for that domain name will be stored.
now you need to make a few changes in your apache config files.
edit your
httpd.conf file and change:
ServerName 111.111.111.111:80change it back to:
ServerName localhost:801then open your
httpd-vhosts.conf file (c:\wamp\apache2\conf\extra\httpd-vhosts.conf )and add:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin@domain.com
DocumentRoot C:/wamp/www
ServerName domain.com
</VirtualHost>save the file and restart apache for the new setting to take effect.
CyberSpatium----------------------WAMP English Forum Admin
Need help? Check out my
WAMP User Manual/Guide here!
Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in geek speak, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.
Web Development Newbie Blog