Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Feb 2011
    Posts
    114
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Please on how to have multiple site folders on wamp server..

    Hi

    I am a new to wamp server, please i have folder on the c./www directory root and i have done more work samples in that folder.

    Now i have configure 127.0.0.1 localhost and added a new folder name
    127.0.0.1 myclient.local, then when i finished i preview on the browser and it opens well but the previous folder on c./www which i named my_webpage were stated as i open hhtp://localhost
    which i did not see myclient.local

    Now i have done the confiquration on the Apache serve as it was thought on the internet by expert.
    Now when i go to the WAMP server and preview localhost, i can see the second site folder called myclient.local
    But the default wamp server folder i create on the www root is there when i browse through localhost.

    Also i added work with simple PHP code and saved it in PHP extension and copy and past it to myclient.local but when i preview it on the browser it gives me errors..it gives me errors

    Please i want your help because i want to work on small pages with PHP which i need it to have it site folder than the default one .

    Please help.......and i will thank you much

    Thanks
    Clement Osei

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,092
    Thanks
    23
    Thanked 593 Times in 592 Posts
    Start over. Reinstall wamp. Your structure should look like this. C:/wamp/www/YOUR-SITES.

    In wamp are the file for the apache, the php, etc... In other words the wamp stuff.

    In the www folder you place folders for your sites and projects. When you click on the icon that's on the bottom right of your main computer screen (the work bench) it will open your browser and display the wamp server with a section on whats installed in php. But most importantly is a section label YOUR PROJECTS. Here you can enter your sites and look at them as a user would on the inter net.

  • #3
    Regular Coder
    Join Date
    Feb 2011
    Posts
    114
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Hi Sir,

    Thanks very much for your help.
    Please is still not working and it is giving me errors.. like this Forbidden

    You don't have permission to access / on this server.

    Now when i installed it on a different pc..the first folder on www root folder comes when i preview localhost..i see the folder i named it under the project.

    But the rest of folder outside www root folder i added to not show when i preview localhost...i mean it do not comes under your projects

    Because of this i am facing problem on creating two website now..because the server only allows me to work on one site..or project..and i only have one pc..

    please help me...!!

    Thanks
    Clement Osei


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •