<?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>Server Archives - Cody Paste</title>
	<atom:link href="https://www.codypaste.com/category/server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codypaste.com/category/server/</link>
	<description>THE WEB PLAYGROUND</description>
	<lastBuildDate>Sat, 19 Oct 2024 11:47:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://www.codypaste.com/wp-content/uploads/2022/12/cropped-codypaste-32x32.png</url>
	<title>Server Archives - Cody Paste</title>
	<link>https://www.codypaste.com/category/server/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Whitelist IP in WHM</title>
		<link>https://www.codypaste.com/whitelist-ip-in-whm/</link>
					<comments>https://www.codypaste.com/whitelist-ip-in-whm/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Sat, 19 Oct 2024 11:47:54 +0000</pubDate>
				<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">https://www.codypaste.com/?p=1183</guid>

					<description><![CDATA[<p>To whitelist an IP address in WHM (Web Host Manager), follow these steps: Step-by-Step Guide: Log into WHM: Open your WHM panel by visiting https://your-server-ip:2087. Log in using your root credentials. Navigate to the &#8220;CSF&#8221; or &#8220;Firewall&#8221; Section: In the search bar on the left-hand side, type &#8220;ConfigServer Security &#38; Firewall&#8221; (CSF). If you have &#8230; </p>
<p class="link-more"><a href="https://www.codypaste.com/whitelist-ip-in-whm/" class="more-link">read more<span class="screen-reader-text"> "Whitelist IP in WHM"</span></a></p>
<p>The post <a href="https://www.codypaste.com/whitelist-ip-in-whm/">Whitelist IP in WHM</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>To whitelist an IP address in <strong>WHM</strong> (Web Host Manager), follow these steps:</p>
<h3>Step-by-Step Guide:</h3>
<ol>
<li><strong>Log into WHM</strong>:
<ul>
<li>Open your WHM panel by visiting <code>https://your-server-ip:2087</code>.</li>
<li>Log in using your <strong>root</strong> credentials.</li>
</ul>
</li>
<li><strong>Navigate to the &#8220;CSF&#8221; or &#8220;Firewall&#8221; Section</strong>:
<ul>
<li>In the search bar on the left-hand side, type <strong>&#8220;ConfigServer Security &amp; Firewall&#8221;</strong> (CSF).</li>
<li>If you have CSF installed, click on <strong>ConfigServer Security &amp; Firewall</strong>.</li>
<li>If CSF is not installed, you may need to install it, or use the default firewall settings.</li>
</ul>
</li>
<li><strong>Add IP to Allow List (Whitelist)</strong>:
<ul>
<li>Scroll down to the <strong>&#8220;Quick Allow&#8221;</strong> section.</li>
<li>Enter the IP address you want to whitelist in the <strong>IP Address</strong> field.</li>
<li>Click <strong>Quick Allow</strong> to add the IP to the whitelist.</li>
</ul>
</li>
<li><strong>Alternatively, Use the &#8220;Firewall Allow IPs&#8221;</strong>:
<ul>
<li>Scroll to the <strong>&#8220;Firewall Allow IPs&#8221;</strong> section (usually under the &#8220;csf.conf&#8221; file).</li>
<li>Add the IP addresses you want to whitelist, one per line.</li>
<li>Save the changes by clicking on the <strong>Save</strong> button.</li>
</ul>
</li>
<li><strong>Restart the Firewall</strong>:
<ul>
<li>After whitelisting the IP address, you may need to restart the firewall to apply changes.</li>
<li>Scroll down and click <strong>Restart CSF+LFD</strong> to restart the firewall and activate the whitelist changes.</li>
</ul>
</li>
</ol>
<h3>Whitelisting in Default WHM Firewall (Without CSF)</h3>
<p>If you&#8217;re using the default firewall without CSF:</p>
<ol>
<li>Navigate to <strong>Security Center</strong>.</li>
<li>Select <strong>Host Access Control</strong>.</li>
<li>Enter the <strong>Service</strong> (e.g., <code>whostmgrd</code> for WHM, <code>sshd</code> for SSH, etc.).</li>
<li>In the <strong>Allow</strong> field, enter the IP address you want to whitelist.</li>
<li>Leave the <strong>Deny</strong> field blank and click <strong>Save</strong>.</li>
</ol>
<p>This will whitelist the IP and allow it to access WHM or the specified service.</p>
<p>The post <a href="https://www.codypaste.com/whitelist-ip-in-whm/">Whitelist IP in WHM</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codypaste.com/whitelist-ip-in-whm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Force users to use the WWW or Non-WWW version of your domain</title>
		<link>https://www.codypaste.com/force-users-to-use-the-www-or-non-www-version-of-your-domain/</link>
					<comments>https://www.codypaste.com/force-users-to-use-the-www-or-non-www-version-of-your-domain/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Wed, 16 Nov 2016 06:31:52 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.codypaste.com/?p=547</guid>

					<description><![CDATA[<p>Force users to use http://www.yoursite.com To force users to use the www version of your domain all you have to do is add the following code to your .htaccess file (just replace yoursite.com with your domain name). [crayon-69abf4dae8f69176757379/] Alternatively you can use : [crayon-69abf4dae8f7a172807655/] &#160;   Force users to use http://yoursite.com To force users to &#8230; </p>
<p class="link-more"><a href="https://www.codypaste.com/force-users-to-use-the-www-or-non-www-version-of-your-domain/" class="more-link">read more<span class="screen-reader-text"> "Force users to use the WWW or Non-WWW version of your domain"</span></a></p>
<p>The post <a href="https://www.codypaste.com/force-users-to-use-the-www-or-non-www-version-of-your-domain/">Force users to use the WWW or Non-WWW version of your domain</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Force users to use http://www.yoursite.com</strong></p>
<p>To force users to use the www version of your domain all you have to do is add the following code to your .htaccess file (just replace yoursite.com with your domain name).</p><pre class="urvanov-syntax-highlighter-plain-tag"># Redirect non-www urls to www
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com
RewriteRule (.*) http://www.yoursite.com/$1 [R=301,L]</pre><p>Alternatively you can use :</p><pre class="urvanov-syntax-highlighter-plain-tag"># Redirect non-www urls to www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]</pre><p>&nbsp;</p>
<p><code> </code></p>
<p><strong>Force users to use http://yoursite.com</strong></p>
<p>To force users to use the non www version of your domain all you have to do is add the following code to your .htaccess file (just replace yoursite.com with your domain name).</p><pre class="urvanov-syntax-highlighter-plain-tag"># Redirect www urls to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.yoursite\.com [NC]
RewriteRule (.*) http://yoursite.com/$1 [R=301,L]</pre><p>Alternatively you can use :</p><pre class="urvanov-syntax-highlighter-plain-tag"># Redirect www urls to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} !^example\.com
RewriteRule (.*) http://example.com/$1 [R=301,L]</pre><p>&nbsp;</p>
<p><code> </code></p>
<p>&nbsp;</p>
<hr />
<p>Source: <a href="http://www.htaccessbasics.com/force-www-nonwww-domain/" target="_blank" rel="nofollow">http://www.htaccessbasics.com/force-www-nonwww-domain/</a></p>
<p>The post <a href="https://www.codypaste.com/force-users-to-use-the-www-or-non-www-version-of-your-domain/">Force users to use the WWW or Non-WWW version of your domain</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codypaste.com/force-users-to-use-the-www-or-non-www-version-of-your-domain/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP/MySql Hosting on AWS</title>
		<link>https://www.codypaste.com/create-instance-ec2-ubuntu-64-bit/</link>
					<comments>https://www.codypaste.com/create-instance-ec2-ubuntu-64-bit/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Fri, 24 Apr 2015 05:51:48 +0000</pubDate>
				<category><![CDATA[Amazon Web Services (AWS)]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">http://www.codypaste.com/?p=59</guid>

					<description><![CDATA[<p>Step 1 : Create Instance EC2. (ubuntu) 64 bit. &#160; Login in to your AWS Account . Click on Servic e -&#62; EC2/EC2 Dashboard. Click on “Launch Instance”. Choose AMI : select Ubuntu 64 bit free tier. Next Choose Instance Type: select t1.micro. click on “next:configure instance detail”. Configure Instance: make sure ‘Number of instance &#8230; </p>
<p class="link-more"><a href="https://www.codypaste.com/create-instance-ec2-ubuntu-64-bit/" class="more-link">read more<span class="screen-reader-text"> "PHP/MySql Hosting on AWS"</span></a></p>
<p>The post <a href="https://www.codypaste.com/create-instance-ec2-ubuntu-64-bit/">PHP/MySql Hosting on AWS</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><strong>Step 1 : Create Instance EC2. (ubuntu) 64 bit.</strong></h2>
<p>&nbsp;</p>
<ol>
<li>Login in to your AWS Account .</li>
<li>Click on Servic e -&gt; EC2/EC2 Dashboard.</li>
<li>Click on “Launch Instance”.</li>
<li><strong>Choose AMI :</strong> select Ubuntu 64 bit free tier. Next</li>
<li><strong>Choose Instance Type:</strong> select t1.micro. click on “next:configure instance detail”.</li>
<li><strong>Configure Instance: </strong>make sure ‘Number of instance : 1’ .rest leave as it is. Click next add storage.</li>
<li><strong>Add Storage:</strong> leave it. Click next Tag Instance</li>
<li><strong>Tag Instance:</strong> leave it. Click next Configure Security Group.</li>
<li><strong>Configure Security Group:</strong> Check new security group, give security group name whatever you want (e.g. random-security),</li>
<li>Click “review and launch”</li>
<li>Click on launch.</li>
<li>Now it will ask for “key pair”, key pair is just like your password to enter in your instance<br />
so , select ‘create a new key pair’, Give key pair name e.g.’ randomkeys’</li>
<li>Download Key pair at safe place.</li>
<li>Click on’ Launch Instance’ it will take time 2-3 minute.</li>
<li>Click On ’ View Instance’.</li>
<li>You can see your created instance here, if name field is blank you can click at the place of name &amp; give it name here e.g. randomindia.<br />
<strong><strong><br />
&#8212;&#8212;&#8212;| Security Group|&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Now we will Configure security group, so :</strong></strong></li>
<li>Click on ‘Security Group’ under ‘Network and Security’ at left panel.</li>
<li>Here you can see your security group which you created at <strong>step: 9 (random-security)</strong></li>
<li>Select you security group. You can see detail of your group at bottom panel.</li>
<li>Click on ‘Inbound’</li>
<li>Give SSH,SMTP, HTTP, SSH, MYSQL, RDP one by one and apply these rules.<strong>&#8212;&#8212;| Elastic IP |&#8212;&#8212;-</strong></li>
<li>Click on ‘Elastic IPs under ‘Network and Security’ at left panel.</li>
<li>Click on Allocate new Address</li>
<li>Click on Allocate. You can see new IP is generated.</li>
<li>Select this IP, and click on ‘Associate Address’</li>
<li>Select you Instance e.g. randomindia</li>
<li>Check Allow re-association.</li>
<li>Click Associate. Now your ip is Associated with your Instance.<strong>Now we have our instance running, with Security and Elastic IP. Now take a sutta breake.</strong></li>
</ol>
<p><strong> </strong></p>
<p>The post <a href="https://www.codypaste.com/create-instance-ec2-ubuntu-64-bit/">PHP/MySql Hosting on AWS</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codypaste.com/create-instance-ec2-ubuntu-64-bit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Incoming E-mail Problem in server emails</title>
		<link>https://www.codypaste.com/incoming-e-mail-problem-in-server-emails/</link>
					<comments>https://www.codypaste.com/incoming-e-mail-problem-in-server-emails/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Wed, 22 Apr 2015 04:56:00 +0000</pubDate>
				<category><![CDATA[HostGator]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">http://www.codypaste.com/?p=52</guid>

					<description><![CDATA[<p>Login to cPanel &#62;&#62; Mail &#62;&#62; MX Entry &#62;&#62; Select Domain &#62;&#62; Local Mail Exchanger &#62;&#62; Change</p>
<p>The post <a href="https://www.codypaste.com/incoming-e-mail-problem-in-server-emails/">Incoming E-mail Problem in server emails</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Login to cPanel &gt;&gt; Mail &gt;&gt; MX Entry &gt;&gt; Select Domain &gt;&gt; Local Mail Exchanger &gt;&gt; Change</p>
<p>The post <a href="https://www.codypaste.com/incoming-e-mail-problem-in-server-emails/">Incoming E-mail Problem in server emails</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codypaste.com/incoming-e-mail-problem-in-server-emails/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
