{"id":141,"date":"2026-06-27T17:18:44","date_gmt":"2026-06-27T17:18:44","guid":{"rendered":"https:\/\/bodhost.com\/kb\/\/web-hosting\/?p=141"},"modified":"2026-08-19T08:40:45","modified_gmt":"2026-08-19T08:40:45","slug":"covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/","title":{"rendered":"How to Convert an IP-Based Site to Name-Based in Ensim"},"content":{"rendered":"\r\n<p>In hosting environments that use the Ensim control panel, websites can be configured in two different ways: IP-based or name-based. An IP-based site is assigned its own dedicated IP address. This means the website is accessed directly via that unique IP address.<\/p>\r\n<p>A name-based site, on the other hand, shares a single IP address with other domains on the same server. The web server identifies which website to show based on the domain name requested by the visitor.<\/p>\r\n<p>Most modern hosting setups prefer name-based configuration because it helps conserve IP addresses and makes managing multiple domains much easier. If you currently have an IP-based website and want to switch it to name-based, Ensim provides a simple command-line method to make the change.<\/p>\r\n<h5><strong>When Should You Convert an IP-Based Site to Name-Based?<\/strong><\/h5>\r\n<p>You may want to convert a site in the following situations:<\/p>\r\n<ul>\r\n<li>You are running out of available IP addresses on the server<\/li>\r\n<li>You are moving websites into a shared hosting environment<\/li>\r\n<li>You want to simplify server management and reduce the number of dedicated IPs in use<\/li>\r\n<\/ul>\r\n<p>Steps to Convert an IP-Based Site to Name-Based in Ensim<\/p>\r\n<p>To perform the conversion, you need to run a command as the root user on the server\u2019s shell (SSH access required).<\/p>\r\n<p><strong>1. Run the EditVirtDomain Command<\/strong><\/p>\r\n<p>Use the following syntax:<br \/><span style=\"color: #3366ff;\">EditVirtDomain -c ipinfo,namebased=1,ipaddrs=[] domain_name<\/span><\/p>\r\n<p>Replace domain_name with the actual domain you want to convert.<\/p>\r\n<p><strong>2. Example Command<\/strong><br \/><br \/>If you want to convert the domain mydomain.com, the command would look like this:<br \/><span style=\"color: #3366ff;\">EditVirtDomain -c ipinfo,namebased=1,ipaddrs=[] mydomain.com<\/span><\/p>\r\n<p><strong>3. Verify the Conversion<\/strong><br \/>After running the command, log in to the Ensim control panel and check the domain\u2019s configuration. Make sure the site is now listed as name-based and that the website is loading correctly without any issues.<\/p>\r\n<p>Once the conversion is complete, the domain will share an IP address with other name-based sites on the server while continuing to function normally. This is a useful way to free up <a href=\"https:\/\/www.bodhost.com\/kb\/find-your-servers-ip-address-in-cpanel\/\" target=\"_blank\" rel=\"noopener\">dedicated IP addresses<\/a> when they are no longer required.<\/p>\r\n<p>Learn more in the knowledge base about: <a href=\"https:\/\/www.bodhost.com\/kb\/how-to-fix-the-server-ip-address-could-not-be-found-error\/\" target=\"_blank\" rel=\"noopener\"><em>How To Fix the \u201cServer IP Address Could Not Be Found\u201d Error<\/em><\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>In hosting environments that use the Ensim control panel, websites can be configured in two different ways: IP-based or name-based. An IP-based site is assigned its own dedicated IP address. This means the website is accessed directly via that unique IP address. A name-based site, on the other hand, shares a single IP address with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[864],"tags":[1182,1183],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-ssl","tag-ipbased","tag-namebased"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Convert IP-based Site to Name-based in Ensim | bodHOST<\/title>\n<meta name=\"description\" content=\"Learn how to convert an IP-based site to a name-based site in Ensim. Guide with command examples and best practices for smooth migration.\" \/>\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\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Convert IP-based Site to Name-based in Ensim | bodHOST\" \/>\n<meta property=\"og:description\" content=\"Learn how to convert an IP-based site to a name-based site in Ensim. Guide with command examples and best practices for smooth migration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-27T17:18:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-19T08:40:45+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\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"How to Convert an IP-Based Site to Name-Based in Ensim\",\"datePublished\":\"2026-06-27T17:18:44+00:00\",\"dateModified\":\"2026-08-19T08:40:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/\"},\"wordCount\":368,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"IPbased\",\"Namebased\"],\"articleSection\":[\"SSL\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/\",\"name\":\"Convert IP-based Site to Name-based in Ensim | bodHOST\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-27T17:18:44+00:00\",\"dateModified\":\"2026-08-19T08:40:45+00:00\",\"description\":\"Learn how to convert an IP-based site to a name-based site in Ensim. Guide with command examples and best practices for smooth migration.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SSL\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/ssl\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Convert an IP-Based Site to Name-Based in Ensim\"}]},{\"@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 IP-based Site to Name-based in Ensim | bodHOST","description":"Learn how to convert an IP-based site to a name-based site in Ensim. Guide with command examples and best practices for smooth migration.","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\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/","og_locale":"en_US","og_type":"article","og_title":"Convert IP-based Site to Name-based in Ensim | bodHOST","og_description":"Learn how to convert an IP-based site to a name-based site in Ensim. Guide with command examples and best practices for smooth migration.","og_url":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2026-06-27T17:18:44+00:00","article_modified_time":"2026-08-19T08:40:45+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\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"How to Convert an IP-Based Site to Name-Based in Ensim","datePublished":"2026-06-27T17:18:44+00:00","dateModified":"2026-08-19T08:40:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/"},"wordCount":368,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["IPbased","Namebased"],"articleSection":["SSL"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/","url":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/","name":"Convert IP-based Site to Name-based in Ensim | bodHOST","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2026-06-27T17:18:44+00:00","dateModified":"2026-08-19T08:40:45+00:00","description":"Learn how to convert an IP-based site to a name-based site in Ensim. Guide with command examples and best practices for smooth migration.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/covert-an-ipbased-site-to-namebased-site-in-ensim-ipbased-site-to-namebased-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"SSL","item":"https:\/\/www.bodhost.com\/kb\/category\/ssl\/"},{"@type":"ListItem","position":2,"name":"How to Convert an IP-Based Site to Name-Based in Ensim"}]},{"@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\/141","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=141"}],"version-history":[{"count":7,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":15673,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/141\/revisions\/15673"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}