January 28, 2026

How to configure VPN usage for specific websites and applications

Description

If you need to use a VPN only for specific websites while accessing all other resources directly under your own IP, this guide is for you. There is also an option to configure certain websites to work directly, while all others use the VPN. All of this can help save traffic and optimize your workflows.

Specific websites via VPN

  1. Launch the Happ application.
  2. Go to the settings section.

happ configuration for specific applications

  1. Navigate to Routing Rules.

happ routing rules

  1. Click the ··· icon.

happ configuration for specific applications

  1. Create a new profile.

happ routing profile creation

  1. Name it as you like, for example "Specific websites via VPN".

happ routing profile creation

  1. Enable routing.

happ configuration for specific applications

  1. Open the settings of the created profile.

happ configuration for specific applications

  1. Select Edit rules.

happ routing rules editing

  1. Disable the global proxy!

happ global proxy configuration

  1. Go to the Proxy section.

happ routing rules editing

  1. Parameters in the Proxy section.

happ routing rules editing, proxy

Now let’s take a closer look at which parameters need to be specified and what they are responsible for.

  • Domain — a unique website name on the internet that people use to access it instead of a numeric IP address. Examples: google.com, youtube.com, wikipedia.org.
  • Geoip — a rule system that allows traffic routing based on the destination country. Examples: geoip:RU (all Russian domains), geoip:BY (all Belarusian domains).
  • Geosite — a file or list that contains not individual domains, but entire categories of domains grouped by a specific attribute. Most often by country (geo) or company ownership. Instead of manually adding hundreds of Google or Yandex domains, you can specify a single category.

Category examples:

  • By companies and services: geosite:microsoft (all Microsoft domains), geosite:tiktok (all TikTok domains), geosite:google (all Google domains).
  • Service types: geosite:category-video (video platforms youtube.com, vimeo.com, twitch.tv), geosite:category-pirate (pirate websites, torrents, streaming).
  • All categories: domain-list-community

Using the link above, you can determine which domains are included in a specific geosite.

Which domains are included in geosite

  1. Tags for geosite and geoip can be found directly in the application.

Geosite tags in the Happ app

  1. Tap to add them to the required list.

Geosite tags in the Happ app

  1. After configuring routing rules for the required resources, you can connect to any server and the new rules will work!

Specific websites without VPN

  1. Create a new profile (see step #5 in the previous section).
  2. Open the settings of the created profile and select Edit rules (see steps #8–9 in the previous section).
  3. Enable the global proxy!

happ global proxy configuration

  1. Go to the Direct section.

happ routing rules editing, direct

  1. Leave the pre-filled IP addresses so that the local network works directly, and add the rules you need. In this case: geoip:RU and geosite:CATEGORY-RU. For reliability, you can add all entries with the RU suffix (look through the geosite tags below, as these databases are constantly updated automatically). Now the VPN will work for all foreign resources, while domestic ones will work directly!

happ routing rules editing, direct

Examples of geosite for configuring routing rules

Below are examples of geosite entries. You can use them as a base and add the resources you need. If you are unsure which geosite to use for a specific resource, specify its domain directly, for example: domain:youtube.com, domain:vk.com.

Popular services

geositeExample domainsCategory
geosite:googlegoogle.com, youtube.com, gstatic.comSearch, video, CDN
geosite:youtubeyoutube.com, ytimg.com, googlevideo.comVideo hosting
geosite:whatsappwhatsapp.com, whatsapp.netMessenger
geosite:tiktoktiktok.com, tiktokcdn.comVideo, social network
geosite:telegramtelegram.org, t.me, telegra.phMessenger
geosite:netflixnetflix.com, nflxvideo.netVideo streaming
geosite:spotifyspotify.com, scdn.coMusic
geosite:steamsteampowered.com, steamcommunity.comGames
geosite:epicgamesepicgames.com, unrealengine.comGames
geosite:discorddiscord.com, discord.ggChats, communities
geosite:redditreddit.com, redd.itForums
geosite:githubgithub.com, githubusercontent.comDevelopment, Git
geosite:cloudflarecloudflare.com, workers.devCDN / DNS / Security
geosite:openaiopenai.com, chatgpt.comAI services
geosite:category-pornpornhub.com, xvideos.com18+ content

Other services

geositeExample domainsCategory / Purpose
geosite:facebookfacebook.com, fbcdn.net, instagram.comSocial networks
geosite:twittertwitter.com, t.co, x.comSocial network
geosite:amazonamazon.com, aws.amazon.comE-commerce / Cloud
geosite:microsoftmicrosoft.com, live.com, bing.comIT services
geosite:appleapple.com, icloud.comApple ecosystem
geosite:wikipediawikipedia.org, wikimedia.orgEncyclopedia
geosite:paypalpaypal.com, paypalobjects.comPayments
geosite:stripestripe.com, stripe.networkPayment systems
geosite:zoomzoom.us, zoomcdn.netVideo conferencing
geosite:dropboxdropbox.com, dropboxusercontent.comCloud storage
geosite:onedriveonedrive.live.comCloud storage
geosite:adobeadobe.com, adobe.ioCreative services
geosite:slackslack.com, slack-edge.comCorporate chats
geosite:skypeskype.com, skypeassets.comVideo calls
geosite:atlassianatlassian.com, jira.com, bitbucket.orgDevOps / Management
geosite:stackoverflowstackoverflow.com, stackexchange.comDeveloper Q&A
geosite:mediummedium.comPublishing platform
geosite:yahooyahoo.comPortal / Mail
geosite:bingbing.comSearch engine
geosite:megamega.nzCloud storage
geosite:eaea.com, origin.comGames
geosite:ubisoftubisoft.com, uplay.comGames
geosite:quoraquora.comQ&A
geosite:bookingbooking.comTravel
geosite:airbnbairbnb.comAccommodation rental
geosite:cnncnn.comNews
geosite:bbcbbc.comNews
geosite:category-newsnytimes.com, theguardian.comNews
geosite:adsdoubleclick.net, googlesyndication.comAdvertising
geosite:category-adsads.mopub.com, adservice.google.comAd networks
geosite:cnbaidu.com, qq.com, wechat.comChinese services
geosite:privatelocal, localhostLocal resources
All articlesNeed help