<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; wildcard subdomain</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/wildcard-subdomain/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>How to create a wildcard subdomain with NGINX and Apache</title>
		<link>https://wiki.centos-webpanel.com/how-to-create-a-wildcard-subdomain-with-nginx-and-apache</link>
		<comments>https://wiki.centos-webpanel.com/how-to-create-a-wildcard-subdomain-with-nginx-and-apache#comments</comments>
		<pubDate>Fri, 16 Dec 2022 21:49:43 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[wildcard subdomain]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1833</guid>
		<description><![CDATA[In this tutorial, you'll learn how you can create wildcard subdomains in CWP NGINX and Apache easily via the predefined template. First Ensure and check that you've wildcard DNS added to your current DNS hosting provider or in CWP DNS if you're using your own nameservers : example DNS entry:- *.domain.tld. 14400 IN A 192.168.1.100 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In this tutorial, you'll learn how you can create wildcard subdomains in CWP NGINX and Apache easily via the predefined template.</p>
<h3>First</h3>
<p>Ensure and check that you've wildcard DNS added to your current DNS hosting provider or in CWP DNS if you're using your own nameservers :</p>
<p>example DNS entry:-</p>
<pre>*.domain.tld. 14400 IN A 192.168.1.100
</pre>
<h3>Second</h3>
<p>Go to <strong>CWP-admin dashboard &gt;&gt; Webserver Settings &gt;&gt; Webservers Domain Settings</strong></p>
<p>there you need to choose the user and then the domain name where you need to set the wildcard subdomain support.</p>
<h3>Third</h3>
<p>Click on the button "<strong>Create configuration</strong>" which is located next to the domain name for which you need to enable the wildcard subdomain</p>
<h3>Fourth</h3>
<p>Choose "<strong>Nginx + Php-fpm</strong>" or "<strong>apache + php-fpm</strong>" or "<strong>nginx + apache + php-fpm</strong>" or "<strong>nginx + apache + php-cgi</strong>" according to your choice of engines.</p>
<blockquote><p>If you've chosen "<strong>nginx + php-fpm</strong>" select the "<strong>wildcard</strong>" template under "<strong>Nginx default vhost template</strong>" and save the changes by click on rebuild vhost option.</p>
<p>If "<strong>apache + php-fpm</strong>" is chosen select "<strong>wildcard</strong>" template under "<strong>Apache default vhost template</strong>" and save the changes by click on rebuild vhost option.</p>
<p>If "<strong>nginx + apache + php-fpm</strong>" or "<strong>nginx + apache + php-cgi</strong>" is chosen select the "<strong>wildcard</strong>" template under "<strong>Nginx default vhost template</strong>" also select "<strong>wildcard</strong>" template under "<strong>Apache default vhost template</strong>" and save the changes by click on rebuild vhost option.</p></blockquote>
<p>That's it you've easily enabled wildcard subdomain support for your domain</p>
<p>**SAME CAN BE DONE FOR SUB-DOMAIN</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/how-to-create-a-wildcard-subdomain-with-nginx-and-apache/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
