Deny all requests that arent made using a certain A record
Posted by: 2015corvettec7 (---.ph.ph.cox.net)
Date: May 11, 2019 10:22PM

I have 2 a records in my domain service. one is "play" which is for me and "my friends to use. then there is "public" which is for the public to use to connect to my web and minecraft servers. how can I make wamp server deny any requests over the "public" A record because it has information on it that I only want me and a few select other people (the ones that use the "play" a record) to be able to view the site. Thanks!

Options: ReplyQuote
Re: Deny all requests that arent made using a certain A record
Posted by: RiggsFolly (Moderator)
Date: May 11, 2019 11:13PM

No idea.
Non of your question means anything to me.
Is this a Minecraft specific issue?

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

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-

Options: ReplyQuote
Re: Deny all requests that arent made using a certain A record
Posted by: 2015corvettec7 (---.ph.ph.cox.net)
Date: May 12, 2019 05:31PM

no, and it is not really an issue it's more of question. what do i do if i only want the website to be accessible over private.website.com and not public.website.com "website.com" being my domain name.

Options: ReplyQuote
Re: Deny all requests that arent made using a certain A record
Posted by: Otomatic (Moderator)
Date: May 13, 2019 07:51AM

Hi,

Declare the two subdomains private.website.com and public.website.com as VirtualHost and give different access permissions (Require) for each of the subdomains.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.41 - PHP 7.3.8/7.2.21/7.1.31/7.0.33/5.6.40 - MySQL 5.7.27 - MariaDB 10.3.16
Wampserver 3.1.9 64 bit - Apache 2.4.41 - PHP 7.3.8/7.2.21/7.1.31/7.0.33/5.6.40 - MySQL 5.7.27/8.0.17 - MariaDB 10.3.16
PhPMyadmin 4.9.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.