vendredi 28 juillet 2017

Xampp vhost not working

Hi i have been trying to get my vhost to work for the last hour and still i get redirected to the wrong site here is my vhost

# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at 
# <URL:http://ift.tt/1lTyGLB;
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ##ServerName or ##ServerAlias in any <VirtualHost> block.
#
#
<VirtualHost *:80>
    DocumentRoot "C:\xampp\htdocs\Forum"
    ServerName www.timeprison.tk
    ServerAlias timeprison.tk
    <Directory "C:\xampp\htdocs\Forum">
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "C:/xampp/htdocs/daphne"
    ServerName http://ift.tt/2uINpX1
    ServerAlias vandewielmedia.ml
    ErrorLog "logs/daphne-error.log"
</VirtualHost>

can you please help me on how to fix this i keep getting redirected to vandewielmedia.ml when i try to go to timeprison.tk and i have no idea how to fix it




Aucun commentaire:

Enregistrer un commentaire