{"id":352,"date":"2021-01-11T16:28:50","date_gmt":"2021-01-11T12:28:50","guid":{"rendered":"https:\/\/yellowweb.top\/?p=352"},"modified":"2026-05-05T20:40:04","modified_gmt":"2026-05-05T16:40:04","slug":"sozdayom-neogranichennoe-chislo-poddomenov-dlya-sliva-trafika","status":"publish","type":"post","link":"https:\/\/yellowweb.top\/en\/sozdayom-neogranichennoe-chislo-poddomenov-dlya-sliva-trafika\/","title":{"rendered":"Create Unlimited Subdomains for Traffic Campaigns"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Hello all, this is Yellow, today we are going to look at a job where we have <a href=\"https:\/\/checkfbd.nppr.team\/search.php?like=&amp;whois=ns&amp;by=id&amp;sort=DESC&amp;min=1000\" target=\"_blank\" rel=\"noreferrer noopener\">there is a good domain with a history<\/a>. We will pour traffic on subdomains, and not to add each time a new subdomain in DNS records and not to bother with the issue of HTTPS-certificates for each subdomain - create a so-called wildcard-certificate for HTTPS, which allows us to use absolutely ANY subdomains!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What do you mean \"absolutely any\"? Literally any. Take our \"trust\" domain example.com and make up your own subdomains: lalala.example.com, holyshit.example.com, wow.example.com, and so on. All subdomains will automatically display our bundle deployed on the main example.com domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For this to work, we need two things: a wildcard DNS record and a wildcard certificate. <strong>WARNING<\/strong>: \u043d\u0435 \u0432\u0441\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 wildcard DNS-\u0437\u0430\u043f\u0438\u0441\u0435\u0439! \u0421\u043a\u0430\u0436\u0435\u043c, NameCheap \u0438 Beget \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442, \u0430 \u0432\u043e\u0442 Freenom \u043d\u0435\u0442( \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0432\u044b \u0442\u0430\u043c \u0437\u0430\u0440\u0435\u0433\u0430\u043b\u0438 \u0434\u043e\u043c\u0435\u043d, \u0442\u043e \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0438\u0442\u0435 \u0435\u0433\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 DNS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Beget \u261d \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u043f\u0438\u0448\u0438\u0442\u0435 \u0434\u043e\u043c\u0435\u043d\u0443 \u043d\u043e\u0432\u044b\u0435 DNS-\u0441\u0435\u0440\u0432\u0435\u0440\u0430: ns1.beget.com \u0438 ns2.beget.com.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create a wildcard DNS record<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Beget<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">It's simple: go to <em>\"Managing DNS records\"<\/em> and there we add an entry like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-1024x485.png\" alt=\"\" class=\"wp-image-353\" width=\"818\" height=\"387\" srcset=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-1024x485.png 1024w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-600x284.png 600w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-300x142.png 300w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-768x364.png 768w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image.png 1231w\" sizes=\"auto, (max-width: 818px) 100vw, 818px\" \/><figcaption>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 wildcard-\u0437\u0430\u043f\u0438\u0441\u0438 \u0432 Beget<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Name<\/strong>: *<\/li><li><strong>Type<\/strong>: A<\/li><li><strong>The address is<\/strong>: The IP address of your server<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">NameCheap<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the domain, then to <em>\"Advanced DNS\"<\/em> and let's go:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"591\" src=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-2-1024x591.png\" alt=\"\" class=\"wp-image-355\" srcset=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-2-1024x591.png 1024w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-2-600x346.png 600w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-2-300x173.png 300w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-2-768x443.png 768w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-2.png 1447w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Adding a wildcard entry to NameCheap<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Type<\/strong>: A Record<\/li><li><strong>Host<\/strong>: *<\/li><li><strong>Value<\/strong>: Your server IP<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">We're done with wildcard entries. Let's go add a certificate!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create a Wildcard certificate for HTTPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I'll show you two options here: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0434\u043b\u044f Beget<\/li><li>\u0434\u043b\u044f \u0432\u044b\u043f\u0443\u0441\u043a\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 VPS\/VDS<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 wildcard-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0432 Beget<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let's go to <em>\"Managing Domains and Subdomains\"<\/em> and there we issue a wildcard certificate. <strong>WARNING<\/strong>Don't forget to direct all traffic from the subdomains to the main domain!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"738\" src=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-3-1024x738.png\" alt=\"\" class=\"wp-image-356\" srcset=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-3-1024x738.png 1024w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-3-600x433.png 600w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-3-300x216.png 300w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-3-768x554.png 768w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-3.png 1240w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u0412\u044b\u043f\u0443\u0441\u043a wildcard-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0432 Beget<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 wildcard-\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0443 \u0432\u0430\u0441 \u043d\u0430 VPS\/VDS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I'm assuming that you already have Apache or Nginx installed on your virtual server, a configuration file for your domain created, and a bundle deployed in your domain folder. You must also have the certbot utility installed to issue certificates. All you have to do is run the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>sudo certbot --server https:\/\/acme-v02.api.letsencrypt.org\/directory -d *.example.org -d example.org --manual --preferred-challenges dns-01 certonly --agree-tos<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replacing <em>example.org<\/em> to your domain, run the command and Certbot itself will add to the configuration of the web server domain (in my case it is nginx) the necessary entries to pick up certificates:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"143\" src=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-4-1024x143.png\" alt=\"\" class=\"wp-image-357\" srcset=\"https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-4-1024x143.png 1024w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-4-600x84.png 600w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-4-300x42.png 300w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-4-768x107.png 768w, https:\/\/yellowweb.top\/wp-content\/uploads\/2021\/01\/image-4.png 1207w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Domain configuration with added certificates<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After all the above manipulations you will have an unlimited number of subdomains. By the way, if you use <a href=\"https:\/\/github.com\/dvygolov\/binomocloaker\" target=\"_blank\" rel=\"noreferrer noopener\">my free clo.<\/a>, \u0442\u043e \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0434\u0434\u043e\u043c\u0435\u043d \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0439\u0442 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f! \u0410 \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0451, \u043b\u044c\u0451\u043c \u0432 \u043f\u043b\u044e\u0441 \u0438 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0437\u0430\u043a\u0438\u043d\u0443\u0442\u044c \u0434\u043e\u043d\u0430\u0442 \u0430\u0432\u0442\u043e\u0440\u0443 \u043d\u0430 \u0447\u0430\u0448\u043a\u0443 \u043f\u0443\u044d\u0440\u0430!<\/p>\n\n\n<section class=\"ywb-related-reading\" aria-label=\"What to read next\">\r\n        <div class=\"ywb-related-reading__inner\">\r\n            <h2 class=\"ywb-related-reading__title\">What to read next<\/h2>\n            <p class=\"ywb-related-reading__hub-note\">\n                <a class=\"ywb-related-reading__hub-link\" href=\"https:\/\/yellowweb.top\/en\/en\/poleznye-materialy-po-arbitrazhu-trafika\/#hub-infra\">Open the full traffic arbitrage hub \u2192<\/a>\n            <\/p>\n            <div class=\"ywb-related-reading__grid\">\r\n                                                        <a class=\"ywb-related-reading__card\" href=\"https:\/\/yellowweb.top\/en\/en\/mimohodom-pro-domeny-i-ih-trast\/\">\n                        <span class=\"ywb-related-reading__card-title\">Quick Thoughts on Domains and Their \u201cTrust\u201d<\/span>\n                        <span class=\"ywb-related-reading__card-text\">\u0427\u0442\u043e \u0432\u043b\u0438\u044f\u0435\u0442 \u043d\u0430 \u0434\u043e\u043c\u0435\u043d\u043d\u044b\u0439 \u0442\u0440\u0430\u0441\u0442 \u0438 \u0437\u0430\u0447\u0435\u043c \u043e\u043d \u043d\u0443\u0436\u0435\u043d.<\/span>\n                    <\/a>\n                                                        <a class=\"ywb-related-reading__card\" href=\"https:\/\/yellowweb.top\/en\/en\/kak-sdelat-iz-android-telefona-mobilnyj-pr\/\">\n                        <span class=\"ywb-related-reading__card-title\">How to Turn an Android Phone into a Mobile Proxy<\/span>\n                        <span class=\"ywb-related-reading__card-text\">\u041f\u0440\u043e\u043a\u0441\u0438-\u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0443\u0440\u0430 \u0438 \u043f\u043e\u0434\u0434\u043e\u043c\u0435\u043d\u043e\u0432.<\/span>\n                    <\/a>\n                                                        <a class=\"ywb-related-reading__card\" href=\"https:\/\/yellowweb.top\/en\/en\/verifikacziya-business-manager-v-facebook\/\">\n                        <span class=\"ywb-related-reading__card-title\">Facebook Business Manager Verification<\/span>\n                        <span class=\"ywb-related-reading__card-text\">\u0412\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f Business Manager \u0432 Facebook.<\/span>\n                    <\/a>\n                            <\/div>\r\n        <\/div>\r\n    <\/section>","protected":false},"excerpt":{"rendered":"<p>How to generate large numbers of subdomains for traffic campaigns and keep the setup manageable in production.<\/p>","protected":false},"author":2,"featured_media":358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[42,34],"tags":[],"class_list":["post-352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domains","category-tipsntricks"],"_links":{"self":[{"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":2,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":1752,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/posts\/352\/revisions\/1752"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/media\/358"}],"wp:attachment":[{"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yellowweb.top\/en\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}