{"id":119,"date":"2006-11-27T16:53:15","date_gmt":"2006-11-27T16:53:15","guid":{"rendered":"https:\/\/bodhost.com\/kb\/\/web-hosting\/?p=119"},"modified":"2026-02-26T14:04:59","modified_gmt":"2026-02-26T14:04:59","slug":"how-to-convert-a-name-based-site-to-a-ip-based-sit","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/","title":{"rendered":"How to Convert a Name-Based Site to an IP-Based Site"},"content":{"rendered":"\r\n<p>For name-based sites in web hosting environments, websites can be configured either as name-based sites (multiple domains sharing a single IP) or IP-based sites (each site having its own unique IP address).<\/p>\r\n<p>You might need to convert a name-based site to an IP-based one when setting up SSL certificates or when you require a dedicated IP address.<\/p>\r\n<p>This guide will show you how to convert a name-based site into an IP-based site using the &#8220;EditVirtDomain&#8221; command.<\/p>\r\n<h2>Steps to follow to convert a site:<\/h2>\r\n<h3>1. Access the Server as Root<\/h3>\r\n<p>You will need root user privileges to run the required command. Log in via SSH:<\/p>\r\n<ul>\r\n<li><em>&#8220;ssh root@your-server-ip&#8221;<\/em><\/li>\r\n<\/ul>\r\n<h3>2. Run the EditVirtDomain Command<\/h3>\r\n<p>Use the following syntax to convert a domain from name-based to IP-based:<\/p>\r\n<ul>\r\n<li><em>&#8220;EditVirtDomain -c ipinfo, namebased=0, ipaddrs=[IP_Address] domain_name&#8221;<\/em><\/li>\r\n<\/ul>\r\n<h3>3. Replace Values with Your Own<\/h3>\r\n<ul>\r\n<li>IP_Address &gt;&gt; The dedicated IP address you want to assign.<\/li>\r\n<li>domain_name &gt;&gt; The domain you want to convert.<\/li>\r\n<\/ul>\r\n<p><strong>Example:<\/strong><\/p>\r\n<p><em>EditVirtDomain -c ipinfo, namebased=0, ipaddrs=[207.44.169.18] centralrock.es<\/em><\/p>\r\n<p><strong>In this example:<\/strong><\/p>\r\n<ul>\r\n<li><em>&#8220;207.44.169.18&#8221;<\/em> is the IP address assigned to the domain.<\/li>\r\n<li>&#8220;<em>centralrock.es<\/em>&#8221; is the domain being converted.<\/li>\r\n<\/ul>\r\n<h3>4. Verify the Change<\/h3>\r\n<p>Once the command runs successfully:<\/p>\r\n<ul>\r\n<li>Restart Apache or Ensim services if needed.<\/li>\r\n<li>Check the domain\u2019s configuration file to confirm it\u2019s now IP-based.<\/li>\r\n<\/ul>\r\n<h3>Why Convert to an IP-Based Site?<\/h3>\r\n<ul data-start=\"1930\" data-end=\"2177\">\r\n<li data-start=\"1930\" data-end=\"2024\">\r\n<p data-start=\"1932\" data-end=\"2024\"><strong data-start=\"1932\" data-end=\"1952\">SSL Certificates<\/strong> &gt;&gt; Some older environments require dedicated IPs for SSL installation.<\/p>\r\n<\/li>\r\n<li data-start=\"2025\" data-end=\"2106\">\r\n<p data-start=\"2027\" data-end=\"2106\"><strong data-start=\"2027\" data-end=\"2050\">Dedicated Resources<\/strong> &gt;&gt; Ensures one domain doesn\u2019t share an IP with others.<\/p>\r\n<\/li>\r\n<li data-start=\"2107\" data-end=\"2177\">\r\n<p data-start=\"2109\" data-end=\"2177\"><strong data-start=\"2109\" data-end=\"2123\">Custom DNS<\/strong> &gt;&gt; Easier to configure reverse DNS for mail servers.<\/p>\r\n<\/li>\r\n<\/ul>\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>For name-based sites in web hosting environments, websites can be configured either as name-based sites (multiple domains sharing a single IP) or IP-based sites (each site having its own unique&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[664],"tags":[1205,1204],"class_list":["post-119","post","type-post","status-publish","format-standard","hentry","category-web-hosting","tag-an-ip-based-sit","tag-convert-a-name-based-site"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Convert Name-Based Site to IP-Based Site | Step-by-Step Guide<\/title>\n<meta name=\"description\" content=\"Learn how to convert a name-based site to an IP-based site using the EditVirtDomain command. Step-by-step guide with example and benefits,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Convert Name-Based Site to IP-Based Site | Step-by-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to convert a name-based site to an IP-based site using the EditVirtDomain command. Step-by-step guide with example and benefits,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2006-11-27T16:53:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:04:59+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"How to Convert a Name-Based Site to an IP-Based Site\",\"datePublished\":\"2006-11-27T16:53:15+00:00\",\"dateModified\":\"2026-02-26T14:04:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/\"},\"wordCount\":267,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"an Ip Based Sit\",\"Convert a Name-based Site\"],\"articleSection\":[\"Web Hosting\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/\",\"name\":\"Convert Name-Based Site to IP-Based Site | Step-by-Step Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2006-11-27T16:53:15+00:00\",\"dateModified\":\"2026-02-26T14:04:59+00:00\",\"description\":\"Learn how to convert a name-based site to an IP-based site using the EditVirtDomain command. Step-by-step guide with example and benefits,\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-convert-a-name-based-site-to-a-ip-based-sit\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web Hosting\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/web-hosting\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Convert a Name-Based Site to an IP-Based Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Convert Name-Based Site to IP-Based Site | Step-by-Step Guide","description":"Learn how to convert a name-based site to an IP-based site using the EditVirtDomain command. Step-by-step guide with example and benefits,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/","og_locale":"en_US","og_type":"article","og_title":"Convert Name-Based Site to IP-Based Site | Step-by-Step Guide","og_description":"Learn how to convert a name-based site to an IP-based site using the EditVirtDomain command. Step-by-step guide with example and benefits,","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2006-11-27T16:53:15+00:00","article_modified_time":"2026-02-26T14:04:59+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"How to Convert a Name-Based Site to an IP-Based Site","datePublished":"2006-11-27T16:53:15+00:00","dateModified":"2026-02-26T14:04:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/"},"wordCount":267,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["an Ip Based Sit","Convert a Name-based Site"],"articleSection":["Web Hosting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/","name":"Convert Name-Based Site to IP-Based Site | Step-by-Step Guide","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2006-11-27T16:53:15+00:00","dateModified":"2026-02-26T14:04:59+00:00","description":"Learn how to convert a name-based site to an IP-based site using the EditVirtDomain command. Step-by-step guide with example and benefits,","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-convert-a-name-based-site-to-a-ip-based-sit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Web Hosting","item":"https:\/\/www.bodhost.com\/kb\/category\/web-hosting\/"},{"@type":"ListItem","position":2,"name":"How to Convert a Name-Based Site to an IP-Based Site"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.bodhost.com\/kb\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":4,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":14615,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/119\/revisions\/14615"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}