How to Setup a Virtual Host Using Wamp

  • Updated on
  • read
  • Add to Flipboard Magazine.

Create your project directory

c:/wamp/www/project-name

Open Wamp & Click Add a Virtual Host

Fill out both of the inputs outlined in read

  1. enter the name of your site. I use projectname.test
  2. Enter the path to the directory you just created in step 1

Clear Hosts DNS Cache

Open command line and enter ipconfig /flushdns

Restart Wamp

Enter your virtual host projectname.test

 

Are you installing WordPress?

Create a database following these instructions

Download the latest wordpress files and unzip in your project folder

Then visit your virtual host you created above to enter your database credentials.

  1. Database name
  2. Database username – if using wamp should be root
  3. Database password – if using wamp password should be blank
  4. Database host – if wamp use localhost
  5. Table prefix (if you want to run more than one WordPress in a single database)

Written by: Jacob Lett - Jacob started BootstrapCreative to help others learn web design and development. He has built websites for 10+ years for companies and as a freelancer. He enjoys learning and encouraging others to improve their skills.
Category: Common Questions
Tags: ,

Want to Get Email Updates?

Receive a monthly digest of new tutorials and resources.