I assume something is wrong which is why you ask this question.
If you let us know
what is actually the problem we may be able to be of more assistance.
If that is your complete httpd-vhost.conf file then here are some initial suggestions
1. You need a 'NameVirtualHost' at the top of the file
NameVirtualHost *:80
2. In order to keep `localhost` working and to provide a little security I would also add this as the first vhost definition in that file
# Should be the first VHOST definition so that it is the default virtual host
# Also access rights should remain restricted to the local PC
# so that any random ip address attack will recieve an error code and not gain access
<VirtualHost *:80>
DocumentRoot "c:/wamp/www"
ServerName localhost
<Directory "c:/wamp/www">
AllowOverride All
Order Deny,Allow
Deny from all
Allow from 127.0.0.0 localhost
</Directory>
</VirtualHost>
3. If you are trying to create a sub domain, you had better say so as there is more to this than meets the eye initially, and you will need to amend DNS records as a browser has to be able to resolve the subdomain name from your DNS!
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-