Configuring DNS to resolve to WAMP Virtual Host?
Posted by: pw_support (---.nyc.res.rr.com)
Date: March 25, 2020 05:33PM

I have a website set up on a VM using WAMP. That VM is on a network with an internal domain 123.net. In DNS, I've configured a CNAME (site.123.net) to point to the VM. However, when I try site.123.net, I get a 403 Forbidden error (its a wamp error, so its hitting wamp) What is the next step to configure it so that when I type site.123.net, it goes straight to the website?

Just need to access it internally, not from outside the internal network.

Options: ReplyQuote
Re: Configuring DNS to resolve to WAMP Virtual Host?
Posted by: RiggsFolly (Moderator)
Date: March 25, 2020 05:45PM

Did you create this site as a Virtual Host? You should have done.

Do you see the statement

    Require local

That say DONT ALLOW ANY EXTENAL ACCESS TO THIS SITE ( it for your safeyty that we do that)


If you want to alloe access from any other ip address you have to change that security

I suggest you find out what subnet you want to allow access to and add for example


    Require local
    Require ip 192.168.6


To allow any ip in that subnet access to tthe site

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.0 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.19>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 03/25/2020 05:45PM by RiggsFolly.

Options: ReplyQuote


Sorry, only registered users may post in this forum.