• Hi,

    I’d like to find out whether our current hosting package for srmrt.org.uk supports hosting a separate Python web application alongside our WordPress website?

    If Python and SQLite aren’t supported, could anybody advise whether there’s an alternative hosting option available within our current package?

    Also where might I be able to find details of our hosting package, I can’t seem to find any information.

    Many thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    
    Short answer: a standard WordPress hosting plan usually doesn't support a Python web app, and the WordPress.org forums can't see your hosting package details. The most reliable solution is to run the Python app separately on a subdomain.
    
    Recommended setup (works regardless of your current host):
    
    1. Host the Python app on a platform that supports it, e.g. PythonAnywhere (free/paid tier supports Flask/Django and SQLite out of the box), Render, or Fly.io.
    
    2. Deploy the app there (git clone or upload, create virtualenv, install requirements, set the WSGI entry point). SQLite works as-is; for production, keep the .db file outside the web root and back it up.
    
    3. Create a subdomain, e.g. app.srmrt.org.uk, in your DNS settings (at your domain registrar or DNS provider):
       - CNAME: app -> the hostname the platform gives you
       - or A record: app -> the platform's IP
       Then add the custom domain in the platform's dashboard; HTTPS is issued automatically.
    
    4. WordPress stays untouched on the current host. Link to the app from the site menu, or embed it via iframe if needed.
    
    To check whether your current plan supports Python natively: log in to the hosting control panel (cPanel) and look for "Setup Python App" or "Application Manager". If it exists, you can create the app there and SQLite will work. If it doesn't, use the setup above.
    
    Your hosting package details are only visible in your hosting account or in the invoice/welcome email from your provider. To identify the provider, run a nameserver/WHOIS lookup on srmrt.org.uk.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You need to ask your host about this.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.