How to setup virtual host using Wamp Server properly?

前端 未结 6 2158
名媛妹妹
名媛妹妹 2020-12-06 00:43

I need your help here in creating a virtual host in wampserver. In office I can create a virtual hosts but when I try to create in my laptop it doesn\'t work. I still can\'t

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-06 01:34

    Fast and easy,

    1. Create the folder for your local website
    2. Go to localhost (browser)
    3. Click Add a Virtual Host button
    4. Add the name of the virtual host
    5. Add the complete absolute path
    6. Restart DNS

    Since this thread is old, perhaps you can just download WampServer from their website and install it. Once you have WampServer installed, you can check this article on How to Create Virtual Host Using WampServer & Install WordPress and follow the instruction. It is super fast and easy.

提交回复
热议问题