{"id":40592,"date":"2024-05-08T11:18:14","date_gmt":"2024-05-08T11:18:14","guid":{"rendered":"https:\/\/accuweb.cloud\/resource\/?post_type=faq&#038;p=40592"},"modified":"2026-02-19T06:19:28","modified_gmt":"2026-02-19T06:19:28","slug":"custom-environment-variables","status":"publish","type":"faq","link":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables","title":{"rendered":"Custom Environment Variables"},"content":{"rendered":"<h2 class=\"ack-h2\">Custom Environment Variables<\/h2>\n<p>Environment <a class=\"ack-link-color\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/articles-variables\/\" target=\"_blank\" rel=\"noopener\">variables<\/a> act as handy placeholders, allowing you to stash commonly used parameter values or strings. This spares you the hassle of repeatedly inputting them into your code. The platform comes preloaded with default environment variables, which you can readily employ in your application&#8217;s code. Moreover, you can tweak these variables before node creation to tailor your setup, enhancing your platform experience with added convenience.<\/p>\n<p>In this guide, we&#8217;ll explain the typical methods for including your custom variables for any node on the platform.<\/p>\n<ul class=\"ack-ul\">\n<li>Via a dedicated variables section of the dashboard<\/li>\n<li>Using the shell configuration files<\/li>\n<li>Through the variables.conf file (for Java only)<\/li>\n<\/ul>\n<h2 class=\"ack-h2\">Customize Environment Variables via UI<\/h2>\n<p>1. Move your cursor over the node group on the dashboard, then open up the Additionally list and choose the Variables option.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image5-1.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40599 size-full\" title=\"variables via UI\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image5-1.png\" alt=\"variables via UI\" width=\"981\" height=\"318\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image5-1.png 981w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image5-1-300x97.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image5-1-768x249.png 768w\" sizes=\"(max-width: 981px) 100vw, 981px\" \/><\/a><\/p>\n<p>2. In the open window, you can tweak a set of environment settings according to what you need. Just use the buttons in the toolbar.<\/p>\n<div class=\"ack-formula\"><strong>Note:<\/strong> In Docker, you can use existing environment variables to set up new ones through the platform&#8217;s implementation. For instance, if you have a variable named MY$HOME, Docker will automatically adjust it to MY, depending on the value of the HOME variable.<\/div>\n<div class=\"article-space\"><\/div>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image7-1.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40597 size-full\" title=\"Toolbar\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image7-1.png\" alt=\"Toolbar\" width=\"780\" height=\"220\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image7-1.png 780w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image7-1-300x85.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image7-1-768x217.png 768w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/a><\/p>\n<p>Remember to Apply the changes you\u2019ve made.<\/p>\n<h2 class=\"ack-h2\">Set Up Environment Variables via Shell Configs<\/h2>\n<p>You can customize your variables using the shell configuration files:<\/p>\n<ul class=\"ack-ul\">\n<li>~\/.bash_profile is run only when you log in through the console.<\/li>\n<li>~\/.bashrc runs every time a new bash instance is opened.<\/li>\n<\/ul>\n<p>To assist you in managing these files, the platform automatically adds the sources of the .bashrc configuration to the .bash_profile. This way, you can define custom variables using just the former file.<\/p>\n<p>1. Connect to your container using <a class=\"ack-link-color\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/access-the-environment-via-ssh\/\" target=\"_blank\" rel=\"noopener\">SSH<\/a>. You can do this by utilizing the built-in Web SSH client, for instance.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image2-2.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40602 size-full\" title=\"Web SSH\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image2-2.png\" alt=\"Web SSH\" width=\"988\" height=\"247\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image2-2.png 988w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image2-2-300x75.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image2-2-768x192.png 768w\" sizes=\"(max-width: 988px) 100vw, 988px\" \/><\/a><\/p>\n<p>2. To set up your custom variables, simply open or modify the .bashrc file located in your home directory using the following format:<\/p>\n<p>export\u00a0 {var_name}= {var_value}<\/p>\n<p>Where<\/p>\n<p>{var_name} refers to the name of the variable you want to define, while {var_value} represents the value assigned to that variable.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image8-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40596 size-full\" title=\"Define custom variables\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image8-1.png\" alt=\"Define custom variables\" width=\"601\" height=\"175\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image8-1.png 601w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image8-1-300x87.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/a><\/p>\n<p>3. From now on, every time you start a new bash session, it will come loaded with your personalized variables. If you want the changes to take effect immediately in your current session, simply refresh the sources using the command below. Then, double-check to ensure the new variables are accessible:<\/p>\n<p>source ~\/.bashrc<br \/>\necho $ {var_name}<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image3-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40601 size-full\" title=\"Change current variables\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image3-2.png\" alt=\"Change current variables\" width=\"569\" height=\"188\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image3-2.png 569w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image3-2-300x99.png 300w\" sizes=\"(max-width: 569px) 100vw, 569px\" \/><\/a><\/p>\n<p>As you can see in the above screen capture, the modifications were implemented successfully.<\/p>\n<div class=\"article-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"article-space\"><\/div>\n<h2 class=\"ack-h2\">Adjust Java Environment Variables via Configuration Manager<\/h2>\n<p>The basic process outlined below is the same for all Java application servers managed by the platform.<\/p>\n<p>1. To access the file manager for your application server, simply click on the &#8220;<strong>Config<\/strong>&#8221; button.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image9-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40606 size-full\" title=\"Config\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image9-1.png\" alt=\"Config\" width=\"984\" height=\"246\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image9-1.png 984w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image9-1-300x75.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image9-1-768x192.png 768w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/a><\/p>\n<p>2. Go to the open tab and find the variables.conf file in one of these places:<\/p>\n<ul class=\"ack-ul\">\n<li>Tomcat, TomEE &#8211; \/opt\/tomcat\/conf\/variables.conf<\/li>\n<li>Jetty &#8211; \/opt\/jetty\/etc\/variables.conf<\/li>\n<li>Spring Boot &#8211; \/opt\/shared\/conf\/variables.conf<\/li>\n<li>GlassFish &#8211; \/opt\/glassfish\/glassfish\/domains\/domain1\/config\/variables.conf<\/li>\n<li>Payara &#8211; \/opt\/payara\/glassfish\/domains\/domain1\/config\/variables.conf<\/li>\n<li>WildFly &#8211; \/opt\/wildfly\/conf\/variables.conf<\/li>\n<\/ul>\n<p>3. Here, you can input your variables (make sure each one is separated by a space or starts on a new line) or tweak Java settings for your application. For instance:<\/p>\n<ul class=\"ack-ul\">\n<li>Dvar1=value1 -Dvar2=value2<\/li>\n<li>Dmy.var3=\/my\/value<\/li>\n<\/ul>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image1-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40603 size-full\" title=\"Input own variables\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image1-2.png\" alt=\"Input own variables\" width=\"1393\" height=\"345\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image1-2.png 1393w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image1-2-300x74.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image1-2-1024x254.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image1-2-768x190.png 768w\" sizes=\"(max-width: 1393px) 100vw, 1393px\" \/><\/a><\/p>\n<p><strong>Note:<\/strong> Alternatively, certain application servers like GlassFish, Payara, and WildFly come with an admin panel. This panel enables users to add JVM options and customize variables as needed.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image6-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40598 size-full\" title=\"JVM settings\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image6-1.png\" alt=\"JVM settings\" width=\"695\" height=\"326\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image6-1.png 695w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image6-1-300x141.png 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>Make sure you remember to Save the changes you&#8217;ve made to the settings.<\/p>\n<p>4. To make sure the changes take effect, you&#8217;ll need to Restart the nodes on your application server.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image4-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-40600 size-full\" title=\"Restart the nodes\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image4-2.png\" alt=\"Restart the nodes\" width=\"999\" height=\"246\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image4-2.png 999w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image4-2-300x74.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/image4-2-768x189.png 768w\" sizes=\"(max-width: 999px) 100vw, 999px\" \/><\/a><\/p>\n<p>5. In your Java code, you can use the System.getProperty(&#8220;your_variable&#8221;) method to access the new variables and assign their values to the required arguments. For instance:<\/p>\n<ul class=\"ack-ul\">\n<li>String var1 = System.getProperty(&#8220;var1&#8221;);<\/li>\n<li>String var2 = System.getProperty(&#8220;var2&#8221;);<\/li>\n<li>String var3 = System.getProperty(&#8220;my.var3&#8221;)<\/li>\n<\/ul>\n<p>You can now modify your application code using these new variables.<\/p>\n<div class=\"cta-btn-top-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"cta-btn-mob-space\"><\/div>\n","protected":false},"author":1,"featured_media":52879,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-40592","faq","type-faq","status-publish","has-post-thumbnail","hentry","faq_topics-custom-environment-variables","faq_topics-environment-management","faq_topics-environment-variables","faq_topics-kb","faq_topics-product-documentation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.10 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>configure custom environment variables | AccuWeb.Cloud<\/title>\n<meta name=\"description\" content=\"Learn how to create and use custom environment variables on your platform with our guide and customize your settings for added convenience.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Environment Variables\" \/>\n<meta property=\"og:description\" content=\"Learn how to create and use custom environment variables on your platform with our guide and customize your settings for added convenience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\" \/>\n<meta property=\"og:site_name\" content=\"AccuWeb Cloud\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-19T06:19:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#article\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\"},\"author\":{\"name\":\"Jilesh Patadiya\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\"},\"headline\":\"Custom Environment Variables\",\"datePublished\":\"2024-05-08T11:18:14+00:00\",\"dateModified\":\"2026-02-19T06:19:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\"},\"wordCount\":687,\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\",\"url\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\",\"name\":\"configure custom environment variables | AccuWeb.Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"datePublished\":\"2024-05-08T11:18:14+00:00\",\"dateModified\":\"2026-02-19T06:19:28+00:00\",\"description\":\"Learn how to create and use custom environment variables on your platform with our guide and customize your settings for added convenience.\",\"breadcrumb\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accuweb.cloud\/resource\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Environment Variables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"name\":\"AccuWeb Cloud\",\"description\":\"Cutting Edge Cloud Computing\",\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\",\"name\":\"AccuWeb.Cloud\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"width\":156,\"height\":87,\"caption\":\"AccuWeb.Cloud\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\",\"name\":\"Jilesh Patadiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"caption\":\"Jilesh Patadiya\"},\"description\":\"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.\",\"sameAs\":[\"https:\/\/accuweb.cloud\/resource\",\"https:\/\/www.facebook.com\/accuwebhosting\",\"https:\/\/www.instagram.com\/accuwebhosting\/\",\"https:\/\/www.linkedin.com\/company\/accuwebhosting\/\",\"https:\/\/x.com\/accuwebhosting\",\"https:\/\/www.youtube.com\/c\/Accuwebhosting\"],\"url\":\"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"configure custom environment variables | AccuWeb.Cloud","description":"Learn how to create and use custom environment variables on your platform with our guide and customize your settings for added convenience.","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:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables","og_locale":"en_US","og_type":"article","og_title":"Custom Environment Variables","og_description":"Learn how to create and use custom environment variables on your platform with our guide and customize your settings for added convenience.","og_url":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables","og_site_name":"AccuWeb Cloud","article_modified_time":"2026-02-19T06:19:28+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#article","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables"},"author":{"name":"Jilesh Patadiya","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58"},"headline":"Custom Environment Variables","datePublished":"2024-05-08T11:18:14+00:00","dateModified":"2026-02-19T06:19:28+00:00","mainEntityOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables"},"wordCount":687,"publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables","url":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables","name":"configure custom environment variables | AccuWeb.Cloud","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","datePublished":"2024-05-08T11:18:14+00:00","dateModified":"2026-02-19T06:19:28+00:00","description":"Learn how to create and use custom environment variables on your platform with our guide and customize your settings for added convenience.","breadcrumb":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#primaryimage","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/accuweb.cloud\/resource\/articles\/custom-environment-variables#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accuweb.cloud\/resource\/"},{"@type":"ListItem","position":2,"name":"Custom Environment Variables"}]},{"@type":"WebSite","@id":"https:\/\/accuweb.cloud\/resource\/#website","url":"https:\/\/accuweb.cloud\/resource\/","name":"AccuWeb Cloud","description":"Cutting Edge Cloud Computing","publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accuweb.cloud\/resource\/#organization","name":"AccuWeb.Cloud","url":"https:\/\/accuweb.cloud\/resource\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","width":156,"height":87,"caption":"AccuWeb.Cloud"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58","name":"Jilesh Patadiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","caption":"Jilesh Patadiya"},"description":"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.","sameAs":["https:\/\/accuweb.cloud\/resource","https:\/\/www.facebook.com\/accuwebhosting","https:\/\/www.instagram.com\/accuwebhosting\/","https:\/\/www.linkedin.com\/company\/accuwebhosting\/","https:\/\/x.com\/accuwebhosting","https:\/\/www.youtube.com\/c\/Accuwebhosting"],"url":"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin"}]}},"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/40592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/comments?post=40592"}],"version-history":[{"count":3,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/40592\/revisions"}],"predecessor-version":[{"id":53284,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/40592\/revisions\/53284"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media\/52879"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media?parent=40592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}