Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Why is it redirected to index.php when I have a domain pointing to my computer? (2 replies)

$
0
0
Hello, I have my domain configured as follows:

<VirtualHost *:80>
ServerName mydomain.ddns.net
DocumentRoot "c:/wamp/www/project1"
<Directory "c:/wamp/www/project1/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
<IfModule fcgid_module>
Defines FCGIPHPVERSION "7.4.22"
FcgidInitialEnv PHPRC ${PHPROOT}${FCGIPHPVERSION}
<Files ~ "\.php$">
Options +Indexes +Includes +FollowSymLinks +MultiViews +ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "${PHPROOT}${FCGIPHPVERSION}/php-cgi.exe" .php
</Files>
</IfModule>
</VirtualHost>

In etc/host I have this:
192.168.2.110 mydomain.ddns.net

If I put in the browser:
mydomain.ddns.net

Redirects to wamp index.php home page

On the other hand, if I put the same thing on another computer, whether it is on the network or if it accesses from the Internet, it accesses the web correctly.

Do I have to put some alias or some configuration on the windows host?

Thank you

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>