i know how to install wordpress with virtual host in xampp and i use the xampp as long time there i have no problem but recently i install wamp server & i change the host, httpd-vhosts.conf configuration for wordpress installation.
My problem is when i browse directly like that mydomain.net then come the list of wordpress file.
But
it's work when i browse the host domain like that : mydomain.net/wp-admin but main problem is after wordpress installation when i browse the site domain directly like that, mydomain.net that time's showing same. i mean, then come the list of wordpress file not come the wordpress active theme.
i change the wamp server config. thats not work.
*Please help me.
i use that in httpd-vhosts.conf and WampServer Version 3.1.9 64bit
Apache 2.4.39 Port 80- PHP 7.3.5
MySQL 5.7.26 Port 3306
MariaDB 10.3.14 Port 3307
PHP 7.3.5 for CLI (Command-Line Interface)
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "c:/wamp64/www"
ServerName localhost
ServerAlias www.localhost.com
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "c:/wamp64/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/wamp64/www/project"
ServerName mydomain.net
ServerAlias www.mydomain.net
<Directory "C:/wamp64/www/project">
AllowOverride All
Require local
</Directory>
</VirtualHost>
My problem is when i browse directly like that mydomain.net then come the list of wordpress file.
But
it's work when i browse the host domain like that : mydomain.net/wp-admin but main problem is after wordpress installation when i browse the site domain directly like that, mydomain.net that time's showing same. i mean, then come the list of wordpress file not come the wordpress active theme.
i change the wamp server config. thats not work.
*Please help me.
i use that in httpd-vhosts.conf and WampServer Version 3.1.9 64bit
Apache 2.4.39 Port 80- PHP 7.3.5
MySQL 5.7.26 Port 3306
MariaDB 10.3.14 Port 3307
PHP 7.3.5 for CLI (Command-Line Interface)
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "c:/wamp64/www"
ServerName localhost
ServerAlias www.localhost.com
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "c:/wamp64/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/wamp64/www/project"
ServerName mydomain.net
ServerAlias www.mydomain.net
<Directory "C:/wamp64/www/project">
AllowOverride All
Require local
</Directory>
</VirtualHost>