{"id":7339,"date":"2026-08-20T18:26:38","date_gmt":"2026-08-20T16:26:38","guid":{"rendered":"https:\/\/www.webhostingsrbija.rs\/?p=7339"},"modified":"2026-08-20T18:27:40","modified_gmt":"2026-08-20T16:27:40","slug":"upravljanje-domenima","status":"publish","type":"post","link":"https:\/\/www.webhostingsrbija.rs\/en\/upravljanje-domenima\/","title":{"rendered":"Domains in WHSPanel"},"content":{"rendered":"<p>In the Domains section, you manage all the domains on your account. Each domain gets its own root directory (the folder on the server where the files of that site are located), and the addition of the domain is created by a virtual host in Nginx so that the domain starts pointing to your server.<\/p>\n\n<h2>1. Overview<\/h2>\n<p>In the left menu, open <strong>Domains<\/strong>. At the top are tabs with the number of domains and actives, and the page has three content tabs: <strong>Domains<\/strong>, <strong>Subdomains<\/strong> and <strong>Aliases<\/strong>.<\/p>\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6ac31d0841b66&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6ac31d0841b66\" class=\"wp-block-image size-large wp-lightbox-container\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"636\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-a-p-1024x636.avif\" alt=\"Domeni strana u WHSPanelu\" class=\"wp-image-7552\" title=\"\" srcset=\"https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-a-p-1024x636.avif 1024w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-a-p-300x186.avif 300w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-a-p-768x477.avif 768w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-a-p-1536x955.avif 1536w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-a-p-2048x1273.avif 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-block-image__caption\">Domain overview with actions DNS, Logs, Delete.<\/figcaption><\/figure>\n\n\n<h2>2. How to add a domain<\/h2>\n<ol>\n<li>Click <strong>Add domain<\/strong> top right.<\/li>\n<li><strong>Domain:<\/strong> enter the domain name without <code>www.<\/code> and without <code>https:\/\/<\/code> (for example <code>mysite.rs<\/code>).<\/li>\n<li><strong>Check ownership:<\/strong> this proves that you control the domain before adding it.<\/li>\n<li>If you want the new domain to share the same folder as the main one, leave it on <strong>Share root directory<\/strong>.<\/li>\n<li>Click <strong>OK<\/strong>.<\/li>\n<\/ol>\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6ac31d08430da&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6ac31d08430da\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"1024\" height=\"640\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domain-add-p-1024x640.avif\" alt=\"Dijalog Kreiraj novi domen\" class=\"wp-image-7553\" title=\"\" srcset=\"https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domain-add-p-1024x640.avif 1024w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domain-add-p-300x188.avif 300w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domain-add-p-768x480.avif 768w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domain-add-p-1536x960.avif 1536w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domain-add-p-2048x1280.avif 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-block-image__caption\">Adding a domain with ownership verification.<\/figcaption><\/figure>\n\n\n<h2>3. Table and actions over the domain<\/h2>\n<p>The table has columns Domain, Root directory, PHP version, Status and Created. On the right side of the row are the buttons:<\/p>\n<table>\n<thead><tr><th>Button<\/th><th>What does it do?<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><strong>DNS<\/strong><\/td><td>Opens the domain&#039;s DNS zone editor (explained below).<\/td><\/tr>\n<tr><td><strong>Logs<\/strong><\/td><td>Access and error logs of that domain.<\/td><\/tr>\n<tr><td><strong>Delete<\/strong><\/td><td>Removes the domain.<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p>On the card <strong>Subdomains<\/strong> you make addresses like <code>blog.mysite.rs<\/code>, and on the card <strong>Aliases<\/strong> you link additional names to the same site.<\/p>\n\n<h2>4. DNS editor (DNS button)<\/h2>\n<p>By clicking on <strong>DNS<\/strong> you open the zone of that domain, where you can see and change all DNS records. DNS records determine how a domain is resolved on the Internet: A records map a domain to an IPv4 address, CNAME redirects one name to another, MX specifies mail servers, and TXT contains SPF, DKIM, and DMARC values.<\/p>\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6ac31d0843ac1&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6ac31d0843ac1\" class=\"wp-block-image size-large wp-lightbox-container\"><img decoding=\"async\" width=\"965\" height=\"1024\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-dns-965x1024.avif\" alt=\"DNS editor zone u WHSPanelu\" class=\"wp-image-7554\" title=\"\" srcset=\"https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-dns-965x1024.avif 965w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-dns-283x300.avif 283w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-dns-768x815.avif 768w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-dns-1448x1536.avif 1448w, https:\/\/www.webhostingsrbija.rs\/wp-content\/uploads\/2026\/08\/domains-dns-1930x2048.avif 1930w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-block-image__caption\">DNS editor: quick addition of A\/AAAA\/CNAME\/MX\/TXT\/SRV, DNSSEC, service templates.<\/figcaption><\/figure>\n\n\n<ul>\n<li><strong>Quick add:<\/strong> buttons <strong>+ A<\/strong>, <strong>+ AAAA<\/strong>, <strong>+ CNAME<\/strong>, <strong>+ MX<\/strong>, <strong>+ TXT<\/strong>, <strong>+ SRV<\/strong> and <strong>Add record<\/strong> for a new record.<\/li>\n<li><strong>Record table<\/strong> (Type, Name, Content, TTL) with buttons to modify and delete each record.<\/li>\n<li><strong>Templates from popular services:<\/strong> with one click, you set all the necessary records for the selected service (for example, for email). If the provider also asks for a one-time verification code, you add it manually via <strong>Add record<\/strong>.<\/li>\n<li><strong>Enable DNSSEC<\/strong> (additional zone protection), <strong>File zone overview<\/strong> and <strong>Reset to defaults<\/strong>.<\/li>\n<\/ul>\n\n<blockquote><p><strong>Note:<\/strong> changes to DNS records are usually propagated in a few minutes (the panel uses PowerDNS). In order for the domain to work, set the registry code so that the name servers point to ours. You place the site files in <code>htdocs<\/code> domain folder.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>How to add a domain, subdomain or alias in WHSPanel and get a separate root directory for each site.<\/p>","protected":false},"author":1,"featured_media":7311,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","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":"","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":[207,203],"tags":[],"class_list":["post-7339","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domeni-panel","category-whs-panel"],"_links":{"self":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/7339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/comments?post=7339"}],"version-history":[{"count":1,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/7339\/revisions"}],"predecessor-version":[{"id":7568,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/posts\/7339\/revisions\/7568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/media\/7311"}],"wp:attachment":[{"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/media?parent=7339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/categories?post=7339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhostingsrbija.rs\/en\/wp-json\/wp\/v2\/tags?post=7339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}