Domain
Posted by: sheraz (---.Red-83-53-140.dynamicIP.rima-tde.net)
Date: April 05, 2007 10:54AM

Hi Every Body i have downloaded a wamp i need to add domain in that. How can i do.
plzz help me.

Options: ReplyQuote
Re: Domain
Posted by: CyberSpatium (71.237.217.---)
Date: April 05, 2007 11:43AM

below is how to add support for a domain name with wamp. i dont have any time to get into any great detail of why each step has to be done and what it does, but it is everything you need to get a domain name to work with wamp.

1.) signup for an account at everydns.net, a free dynamic dns service.

2.) login to your new account, and in the box marked "Add new domain" put your domain name there

3.) then click on the small circle under the domain name that says "Make domain dynamic"

4.) then click on the >>[advanced] button

5.) now your domain will be listed under "Dynamic Domains". click on your domain name

6.) now enter this:

Fully Qualified Domain Name: www.yourdomanname.com
Record Type: A
Record Value: your.ip.address.here

7.) now login to wherever you registered your domain name and set your domains name servers to:
nameserver 1: ns1.everydns.net
nameserver 2: ns2.everydns.net
nameserver 3: ns3.everydns.net
nameserver 4: ns4.everydns.net

(some domian regisers only allow you to enter two name servers, if that is the case for your domain name, just use the first to name servers.)

8: now create a folder where you want to put your website files. you can put them anywhere on your computer. i put mine in a folder i called users in my c:\wamp folder. to make things easier for you i suggest you also make a users folder in your c:\wamp folder. so, my users folder is here: c:wamp\users

9: go into your users folder, and create a new folder and use your domain name as the folder name. so, for example, one of my domain names is clarifyloans.com. so I create a folder named ClarifyLoans.com. now, open up that new folder and create two new folders, one named public_html (this is where all your website files will go), and another name logs (this is where apache access and error logs for your domain will go).

10.) if you have already designed a website for this domain, put all your website files in your c:\wamp\users\yourdomainname.com\public_html folder.

11.) now you need edit your httpd.conf file. the file we need to edit is called httpd-vhosts.conf and it is located C:\wamp\Apache2\conf\extra\httpd-vhosts.conf. now find this line:
NameVirtualHost *:80

12.) add this:
<VirtualHost *:80>
ServerAdmin admin@yourdomain.com
DocumentRoot c:/wamp/users/yourdomain.com/public_html
ServerName www.yourdomain.com
ErrorLog c:/wamp/users/yourdomain.com/logs/errorlog.log
CustomLog c:/wamp/users/yourdomain.com/logs/accesslog.log common

<Directory "c:/wamp/users/yourdomain.com/public_html">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

13.) save the file and restart apache for the new setting to take effect.

14.) now you can access using your domain name.

if you can wait a day or two, i am still in the process of adding the topic "setting up wamp to use a domain name" in my wamp manual. the link to the manual is in my sig.





CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
ClarifyLoans.com0.

Options: ReplyQuote
Re: Domain
Posted by: fastburst (---.tc.ph.cox.net)
Date: April 06, 2007 01:11PM

Do you have to edit http.conf for this to work? to enable the vhost_alias to work?

Options: ReplyQuote
Re: Domain
Posted by: yfastud (---.mia.bellsouth.net)
Date: April 06, 2007 05:53PM

Sure does, and of course must be both

Have fun,

[www.jlbn.com] (testing WAMPS on Vista)
[test.jlbn.com] (testing codes on Vista)

Win Vista Business
Apache 2.2.4
MySQL 5.2.3 F-A
PHP 5.2.1
SSL 0.9.8D

phpMyAdmin 2.10.0.2

Options: ReplyQuote
Re: Domain
Posted by: CyberSpatium (71.237.217.---)
Date: April 07, 2007 05:07PM

also remember to restart apache after you have finished making your changes in your httpd.conf file for the new settings to take effect.


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
clarifyloans.com

Options: ReplyQuote
Re: Domain
Posted by: techno_man (---.20-57-74.mc.videotron.ca)
Date: April 10, 2007 11:58PM

----------*newsflash*--------------
i think this is why im not getting anywhere, im so happy to see that its expalined in here, but can you please explain it more in depth for all of us *newbie's*
im learning but man this is such a long road to success,
what i mean is can you give us a step by step with image or how you did it with the setup for wamp5 on ur maual page ?



Post Edited (04-10-07 23:58)

Options: ReplyQuote
Re: Domain
Posted by: CyberSpatium (71.237.217.---)
Date: April 11, 2007 12:46AM

I am currently in the process of adding a few new sections to my manual. right now i am working on everything related to perl; installing perl, setting up apache to run perl scripts, etc. I have some parts done for setting up a domain name, but it is just a rough draft now, and does not have any images yet. it takes some time to get all those images ready. it also takes time to remove as much of the technical jargon as i can so I can make it as easy as possible for newbies to understand.


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com


Like my free support? Help support me by making a donation today!

Options: ReplyQuote
Re: Domain
Posted by: techno_man (---.20-57-74.mc.videotron.ca)
Date: April 11, 2007 01:11AM

----- > CyberSpatium <---------
ok while your working with perl can you help me
i know it wont ake long, cause
yasfad isnt around or id ask him to help me
pleaseeeeeeeeeeeeeeeeee !


Options: ReplyQuote


Sorry, only registered users may post in this forum.