Internet Security

How To Whitelist URL In Windows Firewall

You cannot whitelist a full URL through Windows Firewall’s “Allow another app” screen. That screen accepts programs, not website addresses. To restore access, first identify what is blocking the site. Use a scoped outbound firewall rule for an authorised connection, or change the relevant web.

Which licences fit your PC setup?

Prices are an AUD snapshot, not a live quote. Confirm variant and total on the listing.

What Windows Firewall can allow

Windows Firewall controls network connections using criteria such as applications, IP addresses, protocols and ports. A URL also contains information such as a scheme and page path. Allowing traffic to a server’s IP address does not restrict access to one page on that server. Microsoft’s Windows Firewall overview explains these filtering criteria.

Normal browsing starts with an outbound connection from your browser. You do not need to create an inbound rule just to receive a website’s response. By default, Windows Firewall allows outbound traffic unless a blocking rule applies, so an inaccessible website does not automatically mean you need a firewall exception.

For related troubleshooting topics, browse the internet security guides.

Identify the block before changing settings

  1. Record the exact address and error message. A named security product’s block page points to a different control from a connection timeout or a certificate warning.
  2. Try another browser on the same computer. If only one browser fails, investigate its extensions, proxy settings and security messages.
  3. Where permitted, try another device on the same network. Failure across devices suggests checking shared controls, such as the router, DNS filtering or an organisation’s web gateway.
  4. Open Windows Security and select Firewall & network protection. Note the active network profile and whether another security provider manages the firewall.
  5. On a managed computer, give the administrator the address, error and time of the failed request. Organisation policies may prevent local firewall changes.

These checks narrow the investigation; they do not prove which component blocked the connection. Microsoft’s firewall and network protection guidance describes the available controls and managed-device restrictions.

Create a narrow outbound exception when needed

Use an outbound allow rule when the approved policy blocks outbound connections by default and the application needs an exception. Obtain the application path, destination addresses, protocol and ports from the service owner. Avoid treating a single DNS lookup as a permanent list of website addresses.

With administrator rights, follow this procedure in Windows Firewall with Advanced Security:

  1. Press Windows + R, enter wf.msc and press Enter.
  2. Select Outbound Rules, then New Rule.
  3. Choose Custom to expose the program, protocol and address settings.
  4. Select This program path and browse to the application’s executable file.
  5. Choose the required protocol and remote port. For a service using HTTPS over TCP, this is commonly TCP port 443; confirm the actual requirements.
  6. Under Scope, leave local addresses as appropriate and restrict remote addresses to the approved destination IP addresses.
  7. Select Allow the connection.
  8. Select only the network profiles where the exception is required.
  9. Give the rule a descriptive name, record its purpose and finish.

Microsoft’s rule configuration guide documents the console and Custom wizard settings.

Check for conflicting block rules

An ordinary allow rule does not override a conflicting explicit block rule. Check existing outbound rules before adding exceptions. If an authorised change is necessary, adjust the relevant block’s scope rather than creating repeated allow rules. Microsoft documents this behaviour in its firewall rule precedence guidance.

An IP-based exception is also broader than a website exception: multiple sites can share an address, and a site can use changing addresses or separate hosts for sign-in and content. Do not switch the entire computer to default-deny outbound access merely to repair one website; that requires planning for other applications and system services.

Use domain or URL controls for website exceptions

If a DNS filter, proxy, browser policy or security suite blocks the site, make the approved exception in that product. Check whether its rules match a hostname, include subdomains or support an exact URL path. These are different scopes, and the correct choice depends on the service you need.

Windows Firewall also supports domain-based rules through dynamic keywords on systems meeting Microsoft’s requirements. Administrators configure these through PowerShell or device management, and the names resolve to IP addresses. They do not provide page-path filtering. DNS behaviour, proxies and VPN configurations can affect the result; consult Microsoft’s dynamic keyword requirements and limitations before choosing this approach.

Group Policy can distribute firewall rules, but it does not turn the standard wizard into a URL allowlist. There is no predefined “Windows Firewall URL filtering” option for pasting website addresses into an inbound rule.

If a FortiGate gateway is involved, administrators can use the guide to checking syslog configuration in the FortiGate firewall CLI to review log forwarding before investigating gateway events. Syslog configuration itself does not allow a website.

Use the allowed-app screen for genuine inbound needs

“Allow an app through firewall” is appropriate when a trusted application needs to receive incoming connections, such as a local sharing service. Adding your browser there does not whitelist a website. Select the required executable and network profile only when that inbound access is necessary.

Keep the firewall enabled and remove exceptions you no longer need. Microsoft’s guidance on allowing apps explains why exceptions should be limited.

If a separate security suite supplies the block, check its web protection settings. When evaluating alternatives, the guide to antivirus software with a one-time payment provides related purchasing context; payment terms alone do not establish whether a product supports the filtering controls you need.

Test the change and remove temporary exceptions

Retry the original address in the original application, then test sign-in and the feature that previously failed. Check relevant logs where available. A page loading successfully confirms access at that moment; it does not prove a particular rule was responsible.

If the problem persists, disable the newly created test rule and continue investigating the blocking component. For a successful change, record its owner and purpose, and review destination addresses when the service changes.

Start by capturing the site’s exact error message and checking the active firewall profile, then change the control responsible for the block.

Other editions for separate workloads

Other editions for separate workloads; prices in AUD, confirm the total on the listing.

How to check this worked

  1. Open Settings, System, Activation and confirm the edition shown.
  2. Enter the key and run activation; expect a green tick within a minute.
  3. Reboot and re-check activation survives the restart.

FAQ

What else should you know before buying?

What do I need before starting?
Read the requirements and confirm the edition first; the steps assume the machine is compatible.
How do I know the licence is genuine?
Activate on Microsoft's servers and check Settings, System, Activation. A working activation is the test.
Is this a subscription?
Keys sold here are one-time lifetime licences. Microsoft 365 plans are billed by Microsoft instead.
What if the key fails?
Email hi@ms.codes with the order number and a screenshot. Replacement or refund applies within 30 days.

Check who prepared and reviewed this guide

Written by
MS.Codes editorial
Reviewed by
Support team

Last verified: (source review; see test status above).

Recent Post