Setting up a Virtual Host in Wamp Server Issue

I have created a Virtual Host in Wamp server in Windows 7.

Created a Virtual Host as

NameVirtualHost <VirtualHost> ServerName localhost DocumentRoot "C:\wamp\www" </VirtualHost> <VirtualHost> ServerName DocumentRoot "C:\wamp\www\ontherocks" </VirtualHost>

Wamp server is working fine.

But when I opened the link as in browser, 404 error was getting.. I think I giving the link format wrong.

Can any one let me know how to give the proper link as per the virtual host created.

Thanks in advance..

Category:windows Views:77 Time:2018-07-02

Related post

  • How to set up a virtual host in WebLogic? 2010-03-04

    Is it possible to set a virtual host in WebLogic only ? In my development machine, I have a WebLogic instance with two servers, listening to ports 7002 and 7003; the deployed application contains EJBs and MDBs. I want to point a Java client outside o

  • Setting up a virtual host on LAMP (Ubuntu 11) returns 403 2011-06-03

    dear all, i am having problems with setting up a virtual host (Aptana Project directory) on a LAMP installation on ubuntu 11 (via tasksel). i can access /var/www via ht*p://localhost, but accessing /home/tg/Aptana... via ht*p://ea-dev returns an "You

  • Setting the default virtual host with ISPConfig 3.0.4 2012-01-12

    Im using ISPConfig 3.0.4 With multiple sites running on it already. I have recently set up multisite wordpress install and want to make this domain (lets say to be the default virtual host on the server. This way when I add a new sit

  • How to set up Apache virtual host such as http://home/, http://office/, etc 2011-03-22

    So rather than http://localhost, is it possible to set up multiple virtual hosts on the same local computer so I can access: http://home/ http://office/ http://docs/ for different websites that are hosted at different document root directories in my

  • Grunt server how to set hostname and virtual host correctly? 2014-07-14

    I would like to test my angular app on production server on custom domain. I tried to do by this way: I deactivated Apache server I added line to /etc/hosts mydomain.loc I updated config into GruntFile.js // The actual grunt server set

  • Setting up a virtual hosting in Apache 7 for Windows Server? 2012-01-30

    This is a fairly straightforward question to which I can't seem to get a straightfoward answer. right now I'm workring on a jsf 2.0 Project running on tomcat on a windows R2 server. I've been able to deploy the war files to the App manager in tomcat.

  • Setting up Apache Virtual Hosts and ProxyPass 2010-09-27

    I am trying to set up Virtual Hosts on my WAMPSERVER 2.0i installation. Currently it looks like that: http://domain/main http://domain/sub1 http://domain/sub2 I need to set it up so that 1) accessing http://domain/ would redirect to http://domain/mai

  • Virtual Host (localhost) + Wamp 2.1 2012-04-06

    Hello I'm trying to test a local URL like xxxxx.localhost or loclahost / xxxxxxx This does not work. I read this post related to this topic: ied/ But I do not

  • Hudson + gitolite + virtual host on staging server 2010-05-05

    I have a Ubuntu server which I want to be my continous integration server (for the Zend Application based projects) and the staging server as well. The team is pushing source files to the repository: /home/git/repositories/testing.git Then Hudson doe

  • How can I set up multiple virtual hosts in httpd.conf and have each use a different .htaccess file? 2010-11-21

    I have many virtual hosts setup in my httpd.conf all set up like this: NameVirtualHost <VirtualHost> ServerName localhost DocumentRoot "c:/wamp/wwwWP/" </VirtualHost> <VirtualHost> ServerName testing.lo

  • Running two virtual hosts on Apache server 2.2.* always goes to first one's docroot for any server name 2011-11-30

    I have two virtual hosts in my httpd.conf file with separate docroots as shown below in same order. <VirtualHost *.80> DocumentRoot E:\docroot1 ServerName www.development1.local </VirtualHost> <VirtualHost *.80> DocumentRoot E:\docr

  • Setting Up Apache Virtual Hosts on a Drive Other Than C: 2012-04-17

    I've successfully set up virtual hosts before on my C: drive, but now I want to set some up on my D: drive. I follow the setup instructions here, but when I click the WAMP icon to restart all services, the icon doesn't return to green. Does anybody k

  • Apache forwards to virtual host instead of serving SVN 2010-04-30

    I setup svn on fedora, all correct folowing instructions. here but when I am accessing /svn/repos/test apache forwards me to one of two virtual hosts defined in httpd.conf I have two instances o

  • Virtual Host with WAMP 2012-03-22

    I'm using Wamp 2.2, edited conf/extra/httpd-vhosts.conf edited this file to add VirtualHosts , but when I un-commented line in httpd.conf to include httpd-vhosts.conf file, after restarting Wamp doesn't starts. If I revert changes is works fine. Any

  • Set Application_ENV via virtual host config and read this in PHP 2010-03-04

    I like how this works in Zend Framework. I can know which environment I'm currently using by checking APPLICATION_ENV constant in my controller. <VirtualHost *:80> #ServerName #DocumentRoot SetEnv APPLICATION_ENV "development" # Directory </

  • How to setup a virtual host which points to a different port and context path? 2012-02-23

    I'm working on a JSF 2.0 project and I have it on an Apache Tomcat 7.0.5 Server as a .war file. I've deployed it and I can view it at http://localhost:9080/exampleApp1. I recently purchased a domain name. so I've set up a virtual host in my server so

  • Virtual hosts WAMP 2.1 2011-07-07

    I'm trying to set up a virtual host for a project that I need to do. As many tutorials define I activated the virtual host file Include conf/extra/httpd-vhosts.conf Placed a virtual host in te file <VirtualHost *80> DocumentRoot "C:\Users\Jeroe

  • Images, CSS and other links not working on WAMP virtual host 2012-05-01

    I've set up a WAMP server using a Windows XP 64-bit Professional workstation. After that, I added two virtual hosts on ports 81 and 82. In one virtual host I've installed CodeIgniter, and in the other WordPress. Both virtual hosts are having the same

  • Apache and ultimate config for nginx to serve all virtual hosts in the right way 2010-08-08

    I've just set up nginx to serve static request on one site, but I have lots of sites on my server and I wonder, should I right new nginx server configuration for all of them? What I'm doing now. I have file with all virtual hosts entries for Apache w

  • Setting up Virtual Hosts in JBoss 2011-03-14

    I am working on setting up a JBoss app server on my dev platform (Ubuntu 10.04 server with JBoss 5.1) for my coldfusion apps and can't seem to find the resources I am looking for for setting up the virtual hosts. In the past I have used tomcat which

  • Setting Up MySQL Database on Virtual Host 2011-03-16

    I set-up a virtual host called "myroot" in MAMP Pro on my local machine. When I open phpmyadmin, it shows that the the server "localhost" is running. How do I switch it to "myroot"? I'm developing a new site on the virtual host called "myroot". And I

  • Apache Virtual Host - has no VirtualHosts 2008-10-16

    I'm trying to set up a virtual host on a new VPS using apache 2.x on a Ubuntu server. When starting apache I get the error " has no VirtualHosts", and the url for the site still points to the default location which means my virtual

  • Problem with Virtual Hosts on Apache 2.2.x 2010-07-22

    I have a virtual machine running Apache 2 and am having the worst time attempting to set up multiple name based virtual hosts. Basically as soon as I upload and enable a new virtual host file in the sites-enabled folder the entire web server stops re

  • Problems while Developing MVC Projects using WAMP server 2010-10-10

    I am trying to develop websites using Zend Framework. But I came to a strange problem, the public folder is not showing up. I was suppose to change the apache's configuration to redirect http://localhost/ to http://localhost/public, but there are man

  • Mamp+virtual host? Why am I just getting to localhost/mamp document root 2010-11-27

    I'm trying to set up a virtual host using mamp. When i enter http://resihop:8888 I end up in Why? Some facts: Sitename: resihop Apache port: 8888 Host database: ## # Host Database # # localhost is used to configure the loopback interface #

Copyright (C), All Rights Reserved.

processed in 0.168 (s). 11 q(s)