<?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; free-hosting</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/free-hosting/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>FreeHosting Provider Service</title>
		<link>https://wiki.centos-webpanel.com/freehosting-provider-service</link>
		<comments>https://wiki.centos-webpanel.com/freehosting-provider-service#comments</comments>
		<pubDate>Sun, 15 Nov 2015 21:29:45 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[free-hosting]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=410</guid>
		<description><![CDATA[If you want to provide a free hosting service, now you can do that very simple with CWP, in just a few steeps. You need to set Access key in the following file /usr/local/cwp/.conf/free_hosting_key.conf Example of file /usr/local/cwp/.conf/free_hosting_key.conf DPQhj9zJeMYHJkGyEW To activate a new account, you need to call this API as in the following example: [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you want to provide a free hosting service, now you can do that very simple with CWP, in just a few steeps.</p>
<p>You need to set Access key in the following file</p>
<pre>/usr/local/cwp/.conf/free_hosting_key.conf</pre>
<p>Example of file /usr/local/cwp/.conf/free_hosting_key.conf</p>
<pre>DPQhj9zJeMYHJkGyEW</pre>
<p>To activate a new account, you need to call this API as in the following example:</p>
<pre>http://IP:2030/index.php?scripts=free_hosting&#038;domain=NEW-USER.DOMAIN.COM&#038;username=NEW-USER&#038;password=PASSWORD&#038;package=PACKAGE-ID&#038;email=USER@EMAIL.COM&#038;inode=10000&#038;nproc=10&#038;nofile=100&#038;key=APIKEY</pre>
<p>Example</p>
<pre>http://121.122.123.124:2030/index.php?scripts=free_hosting&#038;domain=john3.cwp.com&#038;username=john3&#038;password=g3Dg5Hi9pA29&#038;package=1&#038;email=john3@gmail.com&#038;inode=10000&#038;nproc=10&#038;nofile=100&#038;key=DPQhj9zJeMYHJkGyEW</pre>
<p>When calling this script in output you will get account details back.</p>
<p>Don't forget to replace: IP, NEW-USER.DOMAIN.COM, NEW-USER, PASSWORD, PACKAGE-ID, USER@EMAIL.COM, INODE, NPROC, NOFILE and KEY<br />
IP must be CWP server IP or server hostname<br />
NEW-USER.DOMAIN.COM is users subdomain<br />
NEW-USER is account username<br />
PASSWORD is account password<br />
PACKAGE-ID is a package ID number from packages list in CWP<br />
USER@EMAIL.COM is users contact email address<br />
INODE is inode limit for a user<br />
NPROC is process number limit for a user<br />
NOFILE is a number of open files limit for a user<br />
APIKEY is API access key from /usr/local/cwp/.conf/free_hosting_key.conf</p>
<p>For additional security you also need to allow IP address which will have access to the server API (one per line)</p>
<pre>/usr/local/cwp/.conf/free_hosting_allowed.conf</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/freehosting-provider-service/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
