{"id":3097,"date":"2026-11-23T10:00:00","date_gmt":"2026-11-23T07:00:00","guid":{"rendered":"https:\/\/narhost.com\/destek\/?p=3097"},"modified":"2026-11-23T10:00:00","modified_gmt":"2026-11-23T07:00:00","slug":"windows-server-statik-ip-verme","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/windows-server-statik-ip-verme\/","title":{"rendered":"Windows Server&#8217;da Statik IP ve DNS Nas\u0131l Ayarlan\u0131r"},"content":{"rendered":"<p class=\"kb-dogrulama\">Son do\u011frulama: Kas\u0131m 2026 \u00b7 Windows Server 2022 test sunucusunda a\u011f yap\u0131land\u0131rmas\u0131 okundu; komutlar Microsoft Learn belgesine g\u00f6re<\/p>\n<div id=\"hizli-cozum\" class=\"ai-box ai-box--cozum\">\n<p class=\"ai-box-title\">H\u0131zl\u0131 \u00e7\u00f6z\u00fcm<\/p>\n<p><strong>Windows Server statik IP verme<\/strong> i\u015flemi A\u011f Ba\u011flant\u0131lar\u0131 ekran\u0131ndan (<code>ncpa.cpl<\/code>) ya da PowerShell&#8217;le yap\u0131l\u0131r. Uzaktaki bir sunucuda yanl\u0131\u015f adres RDP ba\u011flant\u0131s\u0131n\u0131 keser; bu y\u00fczden i\u015flemi taray\u0131c\u0131 konsolundan yap\u0131n:<\/p>\n<ol>\n<li><code>Get-NetIPConfiguration<\/code> ile aray\u00fcz ad\u0131n\u0131, mevcut IP&#8217;yi, a\u011f ge\u00e7idini ve DNS sunucular\u0131n\u0131 not edin.<\/li>\n<li>IP&#8217;yi <code>New-NetIPAddress -InterfaceAlias \"Ethernet0\" -IPAddress \u2026 -PrefixLength \u2026 -DefaultGateway \u2026<\/code> ile tan\u0131mlay\u0131n.<\/li>\n<li>DNS sunucular\u0131n\u0131 <code>Set-DnsClientServerAddress<\/code> ile ayarlay\u0131n.<\/li>\n<li><code>ping<\/code> ve <code>Resolve-DnsName<\/code> ile ba\u011flant\u0131y\u0131 ve ad \u00e7\u00f6z\u00fcmlemeyi do\u011frulay\u0131n.<\/li>\n<\/ol>\n<\/div>\n<table class=\"kb-uyg\">\n<tr>\n<th>Panel<\/th>\n<td>A\u011f Ba\u011flant\u0131lar\u0131 (ncpa.cpl) ya da PowerShell<\/td>\n<\/tr>\n<tr>\n<th>Sistem<\/th>\n<td>Windows Server 2019, 2022 ve 2025<\/td>\n<\/tr>\n<tr>\n<th>Yetki<\/th>\n<td>Yerel Administrator<\/td>\n<\/tr>\n<tr>\n<th>Narhost \u00fcr\u00fcn\u00fc<\/th>\n<td><a href=\"https:\/\/narhost.com\/vds-sunucu\" title=\"Narhost VDS Sunucu paketleri\">VDS Sunucu<\/a> (Windows)<\/td>\n<\/tr>\n<\/table>\n<div class=\"kb-once\">\n<p class=\"label\">Ba\u015flamadan \u00f6nce<\/p>\n<ul>\n<li>Sunucunuza ait IP adresini, \u00f6nek uzunlu\u011funu (alt a\u011f maskesi) ve a\u011f ge\u00e7idini teslim bilgilerinizden al\u0131n; tahminle girmeyin.<\/li>\n<li>Taray\u0131c\u0131 konsoluna (VNC) eri\u015febildi\u011finizi do\u011frulay\u0131n; a\u011f ayar\u0131 bozulursa RDP kesilir.<\/li>\n<li>Mevcut ayarlar\u0131 bir yere kaydedin; geri d\u00f6nmek gerekirse elinizde olsun.<\/li>\n<\/ul>\n<\/div>\n<h2>Windows Server statik IP verme ne zaman gerekir<\/h2>\n<p>Sunucular\u0131n IP adresi de\u011fi\u015fmemelidir; alan adlar\u0131n\u0131z\u0131n DNS kay\u0131tlar\u0131, g\u00fcvenlik duvar\u0131 kurallar\u0131 ve uzak ba\u011flant\u0131lar bu adrese ba\u011fl\u0131d\u0131r. Test Windows sunucumuzda birincil adres zaten elle (statik) tan\u0131ml\u0131yd\u0131; <code>Get-NetIPAddress<\/code> \u00e7\u0131kt\u0131s\u0131nda <code>PrefixOrigin<\/code> de\u011feri <code>Manual<\/code> olarak g\u00f6r\u00fcn\u00fcyordu. Bu kart \u00e7o\u011funlukla \u015fu durumlarda gerekir: a\u011f ayarlar\u0131 yanl\u0131\u015fl\u0131kla otomatik (DHCP) moda al\u0131nd\u0131\u011f\u0131nda, DNS sunucular\u0131n\u0131 de\u011fi\u015ftirmek istedi\u011finizde ya da sunucuya yeni bir birincil adres atand\u0131\u011f\u0131nda.<\/p>\n<p>Komutlar\u0131n tam s\u00f6z dizimi <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/nettcpip\/new-netipaddress\" title=\"Microsoft Learn \u2014 New-NetIPAddress\" target=\"_blank\" rel=\"noopener\">Microsoft&#8217;un New-NetIPAddress belgesinde<\/a> yer al\u0131r; \u00f6nek uzunlu\u011fu 24, 255.255.255.0 maskesine kar\u015f\u0131l\u0131k gelir.<\/p>\n<figure class=\"nh-sema\"><img src=\"https:\/\/narhost.com\/destek\/wp-content\/uploads\/2026\/11\/windows-server-statik-ip-verme-sema-narhost.webp\" alt=\"windows server statik ip verme \u015femas\u0131 \u2014 mevcut ayar\u0131 oku, DHCP&#x27;yi kapat, IP ve a\u011f ge\u00e7idi, DNS ve do\u011frulama\" width=\"1200\" height=\"500\" loading=\"lazy\" decoding=\"async\"><figcaption>A\u011f ayar\u0131n\u0131 RDP yerine konsoldan de\u011fi\u015ftirin; yanl\u0131\u015f adres ba\u011flant\u0131y\u0131 keser.<\/figcaption><\/figure>\n<h2>Ad\u0131m ad\u0131m statik IP ve DNS<\/h2>\n<h3>Y\u00f6ntem 1 \u2014 PowerShell<\/h3>\n<ol class=\"kb-adimlar\">\n<li><strong>Mevcut yap\u0131land\u0131rmay\u0131 okuyun.<\/strong> PowerShell&#8217;i y\u00f6netici olarak a\u00e7\u0131n:\n<pre><code class=\"language-powershell\">Get-NetIPConfiguration\nGet-NetIPAddress -AddressFamily IPv4 | Format-Table InterfaceAlias,IPAddress,PrefixLength,PrefixOrigin<\/code><\/pre>\n<p class=\"kb-cikti\">Beklenen sonu\u00e7: aray\u00fcz ad\u0131 (test sunucumuzda <code>Ethernet0<\/code>), IPv4 adresi, \u00f6nek uzunlu\u011fu ve <code>PrefixOrigin<\/code> s\u00fctununda <code>Manual<\/code> ya da <code>Dhcp<\/code> g\u00f6r\u00fcn\u00fcr.<\/p>\n<\/li>\n<li><strong>Aray\u00fcz DHCP&#8217;deyse kapat\u0131n ve adresi tan\u0131mlay\u0131n.<\/strong> \u00d6rnekteki de\u011ferleri kendi bilgilerinizle de\u011fi\u015ftirin:\n<pre><code class=\"language-powershell\">Set-NetIPInterface -InterfaceAlias \"Ethernet0\" -Dhcp Disabled\nNew-NetIPAddress -InterfaceAlias \"Ethernet0\" -IPAddress 203.0.113.10 -PrefixLength 25 -DefaultGateway 203.0.113.1<\/code><\/pre>\n<\/li>\n<li><strong>DNS sunucular\u0131n\u0131 ayarlay\u0131n.<\/strong>\n<pre><code class=\"language-powershell\">Set-DnsClientServerAddress -InterfaceAlias \"Ethernet0\" -ServerAddresses (\"1.1.1.1\",\"8.8.8.8\")<\/code><\/pre>\n<p class=\"kb-cikti\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/dnsclient\/set-dnsclientserveraddress\" title=\"Microsoft Learn \u2014 Set-DnsClientServerAddress\" target=\"_blank\" rel=\"noopener\">Microsoft belgesine<\/a> g\u00f6re bu komutla eklenen DNS sunucular\u0131, aray\u00fcz\u00fcn DHCP&#8217;den ald\u0131\u011f\u0131 DNS ayar\u0131n\u0131 ge\u00e7ersiz k\u0131lar.<\/p>\n<\/li>\n<\/ol>\n<h3>Y\u00f6ntem 2 \u2014 A\u011f Ba\u011flant\u0131lar\u0131 ekran\u0131<\/h3>\n<ol class=\"kb-adimlar\">\n<li><strong>\u00c7al\u0131\u015ft\u0131r<\/strong> penceresine <code>ncpa.cpl<\/code> yaz\u0131n, a\u011f ba\u011fda\u015ft\u0131r\u0131c\u0131s\u0131na sa\u011f t\u0131klay\u0131p <strong>\u00d6zellikler<\/strong>&#8216;i a\u00e7\u0131n.<\/li>\n<li><strong>\u0130nternet Protokol\u00fc S\u00fcr\u00fcm 4 (TCP\/IPv4)<\/strong> \u00f6\u011fesini se\u00e7ip <strong>\u00d6zellikler<\/strong>&#8216;e bas\u0131n.<\/li>\n<li><strong>A\u015fa\u011f\u0131daki IP adresini kullan<\/strong> se\u00e7ene\u011fini i\u015faretleyin; IP adresi, alt a\u011f maskesi ve varsay\u0131lan a\u011f ge\u00e7idini girin. Altta DNS sunucusu adreslerini yaz\u0131p <strong>Tamam<\/strong>&#8216;a bas\u0131n.<\/li>\n<\/ol>\n<div class=\"warn-box\">\n<p class=\"label\">Dikkat<\/p>\n<p>Birincil IP&#8217;yi ya da a\u011f ge\u00e7idini de\u011fi\u015ftirmek, de\u011fi\u015fiklik uyguland\u0131\u011f\u0131 anda RDP oturumunuzu keser. Yanl\u0131\u015f bir de\u011fer girerseniz sunucuya yaln\u0131z taray\u0131c\u0131 konsolundan ula\u015fabilirsiniz. Bu y\u00fczden a\u011f ayarlar\u0131n\u0131 RDP yerine konsoldan yap\u0131n ve sunucunuza atanmam\u0131\u015f bir adres kullanmay\u0131n; ayn\u0131 a\u011fdaki ba\u015fka bir sunucuyla \u00e7ak\u0131\u015fma yarat\u0131r.<\/p>\n<\/div>\n<h2>Do\u011frulama<\/h2>\n<div class=\"success-box\">\n<p class=\"label\">Sonu\u00e7<\/p>\n<p><code>Get-NetIPConfiguration<\/code> do\u011fru adresi ve a\u011f ge\u00e7idini g\u00f6steriyor, <code>ping 1.1.1.1<\/code> yan\u0131t al\u0131yor ve <code>Resolve-DnsName narhost.com<\/code> bir adres d\u00f6nd\u00fcr\u00fcyorsa Windows Server statik IP verme i\u015flemi tamamd\u0131r. RDP ile yeniden ba\u011flanabildi\u011finizi de kontrol edin.<\/p>\n<\/div>\n<h2>H\u00e2l\u00e2 \u00e7\u00f6z\u00fclmediyse<\/h2>\n<ul>\n<li><strong>IP&#8217;ye ping gidiyor, alan ad\u0131na gitmiyor.<\/strong> DNS ayar\u0131 eksiktir; <code>Get-DnsClientServerAddress<\/code> ile kontrol edin ve Y\u00f6ntem 1&#8217;in 3. ad\u0131m\u0131n\u0131 tekrarlay\u0131n.<\/li>\n<li><strong>Adres ba\u015fka bir cihazda kullan\u0131l\u0131yor uyar\u0131s\u0131.<\/strong> IP \u00e7ak\u0131\u015fmas\u0131 vard\u0131r; <a href=\"https:\/\/narhost.com\/destek\/sunucuda-ip-cakismasi-nasil-giderilir\/\" title=\"Sunucuda IP \u00c7ak\u0131\u015fmas\u0131 Nas\u0131l Giderilir \u2014 Narhost Destek Merkezi\">sunucuda IP \u00e7ak\u0131\u015fmas\u0131 nas\u0131l giderilir<\/a> kart\u0131na bak\u0131n.<\/li>\n<li><strong>RDP ba\u011flanm\u0131yor.<\/strong> A\u011f ayar\u0131 do\u011fruysa sorun RDP&#8217;dedir; <a href=\"https:\/\/narhost.com\/destek\/windows-rdp-baglanti-problemi-cozumu\/\" title=\"Windows RDP Ba\u011flant\u0131 Hatas\u0131 \u00c7\u00f6z\u00fcm\u00fc \u2014 Narhost Destek Merkezi\">Windows RDP ba\u011flant\u0131 hatas\u0131 \u00e7\u00f6z\u00fcm\u00fc<\/a> kart\u0131n\u0131 uygulay\u0131n.<\/li>\n<\/ul>\n<div class=\"cta-box\">\n<p class=\"label\">Narhost deste\u011fi<\/p>\n<p>VDS sunucular y\u00f6netimsizdir; i\u015fletim sistemindeki a\u011f ayarlar\u0131 sizin sorumlulu\u011funuzdad\u0131r. Sunucunuza atanm\u0131\u015f IP, \u00f6nek ya da a\u011f ge\u00e7idi bilgisinden emin de\u011filseniz talebe sunucu ad\u0131n\u0131 ve <code>Get-NetIPConfiguration<\/code> \u00e7\u0131kt\u0131s\u0131n\u0131 ekleyin.<\/p>\n<p><a class=\"cta-btn\" href=\"https:\/\/narhost.com\/submitticket.php\">Destek talebi a\u00e7<\/a><\/div>\n<div class=\"kb-ilgili\">\n<p class=\"label\">Sonraki ad\u0131mlar<\/p>\n<ul>\n<li><a href=\"https:\/\/narhost.com\/destek\/windows-sunucu-rdp-yonetimi-rehberi\/\" title=\"Windows Sunucu RDP Y\u00f6netimi Rehberi \u2014 Narhost Destek Merkezi\">Windows sunucu RDP y\u00f6netimi rehberi<\/a><\/li>\n<li><a href=\"https:\/\/narhost.com\/destek\/windows-uzak-masaustu-portu-degistirme\/\" title=\"Windows Uzak Masa\u00fcst\u00fc Portu De\u011fi\u015ftirme \u2014 Narhost Destek Merkezi\">Windows uzak masa\u00fcst\u00fc portu de\u011fi\u015ftirme<\/a><\/li>\n<li><a href=\"https:\/\/narhost.com\/blog\/ozel-ip-gerekir-mi\/\" title=\"\u00d6zel IP Gerekir mi \u2014 Narhost Blog\">\u00d6zel IP gerekir mi<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"kb-faq\">\n<h2>S\u0131k\u00e7a sorulan sorular<\/h2>\n<h3>Alt a\u011f maskesini nas\u0131l bulurum?<\/h3>\n<p>\u00d6nek uzunlu\u011fu sunucu teslim bilgilerinizde yazar; mevcut de\u011feri <code>Get-NetIPAddress<\/code> \u00e7\u0131kt\u0131s\u0131ndaki PrefixLength s\u00fctunundan da okuyabilirsiniz. 24, 255.255.255.0 maskesine; 25, 255.255.255.128 maskesine kar\u015f\u0131l\u0131k gelir.<\/p>\n<h3>DHCP&#8217;den stati\u011fe ge\u00e7ince ne de\u011fi\u015fir?<\/h3>\n<p>Adres, a\u011f ge\u00e7idi ve DNS art\u0131k sunucuda sabit tan\u0131ml\u0131d\u0131r; sunucu yeniden ba\u015flad\u0131\u011f\u0131nda da ayn\u0131 kal\u0131r. DHCP sunucusu adres atamad\u0131\u011f\u0131 i\u00e7in de\u011ferlerin do\u011fru girilmesi sizin sorumlulu\u011funuzdad\u0131r.<\/p>\n<h3>IPv6 adresi de eklemeli miyim?<\/h3>\n<p>Sunucunuza bir IPv6 adresi atand\u0131ysa ayn\u0131 komutlarla <code>-AddressFamily IPv6<\/code> kullanarak ekleyebilirsiniz. Atanm\u0131\u015f bir IPv6 adresiniz yoksa eklemeyin.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Windows Server&#8217;da statik IP ve DNS ayar\u0131: PowerShell ile Get-NetIPConfiguration, Set-NetIPInterface, New-NetIPAddress ve Set-DnsClientServerAddress; ncpa.cpl ile grafik yol; RDP kesilmesin diye konsoldan \u00e7al\u0131\u015fma.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[221],"class_list":["post-3097","post","type-post","status-publish","format-standard","hentry","category-vds-server","tag-windows-server"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/3097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=3097"}],"version-history":[{"count":1,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/3097\/revisions"}],"predecessor-version":[{"id":3145,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/3097\/revisions\/3145"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=3097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=3097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=3097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}