CAll Us: 0724 668603 | 0707 240000 Live Chat Submit Ticket   Login

Author Archives: admin

Professional Business Email

Look more pro and make your brand an inbox favorite

Create your vibe with a custom email address — get ultra-secure email hosting with simple to use, ad-free webmail

Expand your universe

Run your business with a growth mindset. All secure email hosting plans come with these useful tools for better security, data safety, and expansion.

How to work with python App

How to work with python App

How to work with Python App

The Setup Python App feature allows you to deploy Python applications on your cPanel while running the Apache web server.

You can check the functionality by visiting the cPanel >> Setup Python App.

For cPanel Basic Theme:

For cPanel Retro Theme:

On the next page, you will be able to Create Application and check existing Web applications.

After clicking Create Application you will be presented with the app creation menu:

If you wish to create a new Python application, you must specify the Python version, fill in the Application root, and the Application URL. Then click Create.

Optionally, you can also set up Application startup fileApplication Entry point and Passenger log file.

As soon as the environment is set, you can upload your application files to the application root directory.

When the application is created, you will be able to see the next page:

At the very start, you have the command necessary to enter your virtual environment. This is useful when you need to manually execute some commands either via SSH or with the terminal menu in cPanel.
NOTE: To be able to do this, you need to enable Shell access as in this guide.

You can change options like Python version, Application root, Application URL, Application startup file, Application Entry point and Passenger log file here.
After changing such options, please make sure to click the Save button on the upper right.

The Python versions available are 2.7 and 3.3, 3.4, 3.5, 3.6, 3.7, 3.8 and 3.9.

PLEASE NOTE: Python version switch can take up to 5 minutes.

The Application startup file is to specify the Python WSGI application entry point. It must be specified as a filename.
Application Entry point is there to set up a WSGI callable object for the previously specified startup file.

With the help of the Configuration files field you can install various modules through Pip. Under the Add another file… field you can enter the name of the given module and click Add.

If you click Delete, the corresponding module entry will disappear. If you click Edit, you can change the module in question.

Once you have added the module, you can click Run Pip Install and install the module in question from the drop-down.

NOTE: You can also execute pip install commands directly under the virtual environment via SSH.

Also, you can execute python script commands from the web interface (e.g. you can install packages from specific repositories or control web applications by means of django-admin).

You can additionally set up Environment variables:

Click Add Variable and you will be able to set up Name and Value of the variable in question. After you have entered the correct data, click Done to create the variable.

NOTE: Changes will not be applied to the application environment until the Update button is clicked. All changes can be reverted by clicking the Reset button.

You also have the options to Stop App and Restart the application.
To delete the application, click Destroy. The application folder itself will remain unmoved.

Dealing with WSGI application issues

In some cases, apps may not run properly when the main application variable is called app. This is because WSGI software that we use to run Python on our servers requires the main application variable to be called application.

We will use the Flask application as an example here to make the application work:

1. Install Flask and all the other modules required for the app. It can be done in many ways:

  • Install modules manually one by one over SSH

This can be done using the standard Run Pip Install button described in this guide, or via SSH using pip install module command.

  • Install all the modules at a time with a requirements.txt file.

It can be done with the following type of command via SSH:

pip install -r requirements.txt

  • Install all the modules with a setup.py file via SSH, if it is created for the application,. The usage of this option depends on the app in question.

2. Remove the default passenger_wsgi.py file under the application root folder.
3. Find the main script of the application in the application root folder. Search for the following line to find it:
from app import app
(it can be from src import app or from app import application, however from app import app is the most common way to write it). The main script is usually called app.py, main.py, index.py, or init.py.
4. Rename this script to passenger_wsgi.py or set it in the Application startup file field within the Python App interface in cPanel.
5. Right below the import line (from app import app), insert this line:
application = app

The described actions should help fix an application that was not written with WSGI software in mind.

.KE Domains

  • .co.ke – for Companies
  • .or.ke – for Not-for-Profit-Making Organisations or NGO’s
  • .ne.ke – for Network Devices
  • .go.ke – for Government Entities(Requires Supporting Documents)
  • .ac.ke – for Institutions of Higher Educations.( Requires Supporting Documents)
  • .sc.ke – for Lower and Middle Institutes of Learning. (Requires Supporting Documents)
  • .me.ke – for Personal names
  • .mobi.ke – for Mobile content
  • .info.ke – for Information

Domain Expiry Process

Expiration Process

If you have a domain expire, you can still renew it per the schedule below after the expiration date.

Days since Expiration Status Details
1-30 Expired (grace period) The domain will stop functioning as the domain will be placed on client hold status (website won’t load, email won’t be delivered, etc.), but the domain can be renewed at our regular renewal rates. Domains in this status and on client hold can still be renewed and transferred. Please see below that you may lose your domain on the 31st day if it is bid upon via auction.
5 Expired (grace period) The domain is made available for auction bidding. You can still renew the domain at our regular renewal rates. If you renew the domain at any time before the auction ends (read below), the auction will automatically stop.
35 Expired (grace period) The domain auction ends. The highest bidder will be awarded the domain at this time if there are any active bids. You would lose your domain at this time if it was not renewed.
35-64TD > Expired (restore period) The domain can only be renewed during this period using the registry restoration process. You can still renew the domain through your account, but the cost will be $75. This increased cost is due to the much higher cost we need to pay to the registry for domain restorations. Domains can also only be transferred to a different registrar prior to entering the Expired (restore period).
65-69 Expired (pending delete) The domain can no longer be renewed and will be deleted from the registry. Once your domain reaches this status, there is nothing that can be done to renew it.
70< Deleted The domain has been deleted from the registry and is returned to the pool of available domains for anybody to register.

The “Days Since Expiration” column includes the day of expiration.

The expiration schedule is different for the following TLDs. The values listed represent the “Days Since Expiration” as listed and defined above.

TLD Expired
(grace period)
Expired
(restore period)
Expired
(pending delete period)
Deleted
.ke, .ke.ac, .co.ke, or.ke, .ne.ke, .go.ke, .ac.ke, .sc.ke, .me.ke,
.mobi.ke, .info.ke

1-30 N/A 40 Within 40-90

Website files, database & email data retention

While not guaranteed, we do generally retain account data (files, databases, emails, etc) for up to 5 days after expiry date.

If you are not planning to renew your service and you need your website files, database & emails;

Kindly login to the control panel and download a backup of your website files, database and emails from our server to your computer before the expiry date.

This will ensure that you will have backup of your website files, database & emails in your computer after we permanently delete the account from our server.

After termination, kindly note that its impossible to recover website files, database & emails.

Expiration Notices

We will send multiple email notifications to you before and after domains expire which is one of many reasons it is important for you to keep your email address with us current. Please remember it is your responsibility to ensure renewal of your domains. We make our best efforts to issue the reminders below, but email is not 100% reliable and should not be depended upon exclusively to make sure your domains do not expire.

  • We will email you on the first day of each month with a list of domains set to expire any time the following month. We will include whether or not the domains are set to automatically renew or not in these emails.
  • We will email you 30 days before the expiration of each domain.
  • We will email you 7 days before the expiration of each domain.
  • Upon expiration of your domain, our system will email you and your domain will be deactivated. This will result in all services related to your domain ceasing to function (including, but not limited to, web site and email).

.KE Domain Name Life Cycle

DAYS SINCE EXPIRATION STATUS DETAILS
1-90days Expired Phase (90 days) After the registration or renewal, the domain runs for one year after which the subscription lapses. If not renewed, the domain gets into the expiry phase.
1-14days Expired (grace period 14days) Domains are auto suspended 14days after expiry date. During the grace period, the domain owner , through a registrar can review their domain names
76 days Suspension Period From the 15th day to the 90th day after expiry, all services associated with the domain name (e.g. website, emails) will automatically not be available.
Domain can be renewed through the registrar and restored by the registry (Kenic)
90days Domain deleted Domain is deleted after 90days expiry duration and released ack to the general public for registration on First come First serve basis

Cheap E-commerce website in Kenya

Cheap E-commerce website in Kenya

Are you looking for an E-commerce website in Kenya? Hostmasters is a web design company in Kenya based in westlands, Nairobi, and we are one of the best web design companies in Kenya offering web development and hosting. We design and develop mobile friendly websites at affordable rates.

This is a site that helps people to buy and sell products and services through data transfer and funds over the internet It is basically an online store where goods and services are bought and sold over the internet. All transactions are done over the internet and where goods are involved delivery will be done by the seller.

Get in touch now! Call: 0724668603 / 0707 24 00 00

Cheap E-commerce website in Kenya

Cheap E-commerce website in Kenya

Are you looking for an E-commerce website in Kenya? Hostmasters is a web design company in Kenya based in westlands, Nairobi, and we are one of the best web design companies in Kenya offering web development and hosting. We design and develop mobile friendly websites at affordable rates.

This is a site that helps people to buy and sell products and services through data transfer and funds over the internet It is basically an online store where goods and services are bought and sold over the internet. All transactions are done over the internet and where goods are involved delivery will be done by the seller.

Get in touch now! Call: 0724668603 / 0707 24 00 00

Cheap website design in Nairobi

Cheap website design in Nairobi

Looking for cheap website in Nairobi?  Hostmasters is a web design company in Kenya based in westlands, Nairobi, Kenya, and we are one of the best web design companies in Kenya offering web development and hosting. We design and develop mobile friendly websites at affordable rates.

We are among the best, cheapest and most affordable website designers in Nairobi and can custom the price to fit your budget.

Our team of professionals develops websites that are unique, and customized for search engines to give them best ranks in Google search.

Are you looking for a website design services in Nairobi  kenya?

Get in touch now! Call: 0724668603 /0707 240 000.

Best NGO  website in Kenya .

Best NGO website in Kenya .

Looking for  NGO website in Kenya ? Hostmasters offers an easy to navigate website services for  non- profits and charities organizations .we have a team of specialists designing and developing  converted  and optimized  NGO website. Deploy a high-end responsive  NGO website design and enhance your customers’ experience with a website that can be access for any devices including mobile devices. As a standard, we develop NGO websites that are responsive by default. we  consider a thoughtfully designed & fully functional website as important as your business.

Best Church website in Kenya

Best Church website in Kenya

Best Church website in Kenya

We provide professional website design and development services to churches & religious organizations in Kenya. Whether you have just started out or you run an established church,  we are a professional website design company that helps churches of all denominations in Kenya, develop an online presence as an invaluable communications tool to increase the growth of the church. We design and develop fully functional church websites. we also  design and develop custom church website from scratch so that your custom website can creates a strong image of you brand.we can easily recognize key competitive advantages and transform them into high quality church website. Thinking about setting up a website for your church? You need web design experts  with the knowledge and expertise in developing church websites.

CALL ME
+
Call me!
error: Content is protected !!
× Chat with us!