Jump to content

Krydos

Chief Executive Officer
  • Posts

    25,407
  • Joined

  • Last visited

  • Days Won

    909

Everything posted by Krydos

  1. You can use any of the methods listed at https://heliohost.org/donate/ Regarding PayPal, we're seeing more and more people having issues with it. Since we have users and donors all around the world it would be nice to support some more options other than PayPal. We have a Skrill account, but they keep making it harder and harder to withdraw the money so we might end up closing that account. Some users in India, which is another country that PayPal rarely works in, suggested PayTM to us. Would PayTM work in Indonesia? Do you have any suggestions that would work well for your country?
  2. There you go https://aoferta.com.br/ https://dolitoral.com.br/ and https://juliano.dev.br/ In your home directory there are directories with names matching the domains. Inside each of those directories there will be an index.html file. Just delete that index.html file and upload your website. Let us know if you need help with anything else.
  3. Yes, it's $5 per 1000 MB up to a maximum of 5000 MB, so the first 1000 MB is free and $20 gets you 5000 MB. It's not automatic though so let us know the transaction ID after your account is moved and we can apply the increased storage.
  4. The A records for the kcyan.ml domain have been updated to point at Plesk instead of cPanel.
  5. Here is your updated ETA https://heliohost.org/eta/?u=tchesoen You're currently #200 in line to be moved to Plesk and you should receive your invite on or around October 21st as long as the rate on invites remains the same. Thanks for the donation.
  6. You're fine. Over the last 7 weeks we've averaged 0.91% of our available bandwidth. You can download it as fast as you want and it shouldn't bother anyone.
  7. Django 4.1.1 and Flask 2.2.2 have been installed on Tommy's Python 3.10. We will update the wiki eventually, but for now there are some quick guides on the forums to get you started. If you have any questions or comments please let us know.
      • 2
      • Thanks
      • Like
  8. We will update our wiki article on how to get started with Flask eventually, but just posting a quick example here so people can comment and ask questions on this thread. Create a directory on your main domain called flasktest. If you were transferred from cPanel your main domain will be parked on the public_html directory. If you created a new account on Plesk your directory will be httpdocs. Create an .htaccess file inside the flasktest directory with these contents: Options +ExecCGI RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flasktest/flask.wsgi/$1 [QSA,PT,L] Create a file named flask.wsgi inside the flasktest directory with these contents: import os, sys # edit your path below sys.path.append("/home/domain.helioho.st/httpdocs/flasktest"); sys.path.insert(0, os.path.dirname(__file__)) from myapp import app as application # set this to something harder to guess application.secret_key = 'secret' Create a file named myapp.py inside the flasktest directory with these contents: import sys from flask import Flask, __version__ app = Flask(__name__) application = app @app.route("/") def hello(): return """ Flask is working on HelioHost.<br><br> <a href="/flasktest/python/version/">Python version</a><br> <a href="/flasktest/flask/version/">Flask version</a> """ @app.route("/python/version/") def p_version(): return "Python version %s<br><br><a href='/flasktest/'>back</a>" % sys.version @app.route("/flask/version/") def f_version(): return "Flask version %s<br><br><a href='/flasktest/'>back</a>" % __version__ if __name__ == "__main__": app.run() Make sure your directory structure and files look like this: flasktest/ ├── flask.wsgi ├── .htaccess └── myapp.py 0 directories, 3 files If you did everything right it should look like this: https://krydos.heliohost.org/flasktest/ *** Please note that since wsgi uses server side caching your changes might not appear immediately, and in some cases might take several hours to update. We recommend developing your Flask app on your home computer and hosting the production copy on the server.
  9. We will update our wiki article on how to get started with Django, but just posting a quick example here so people can comment and ask questions on this thread. Create a directory on your main domain called djangotest. If you were transferred from cPanel your main domain will be parked on the public_html directory. If you created a new account on Plesk your directory will be httpdocs. Create an .htaccess file inside the djangotest directory with these contents: Options +ExecCGI RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(djangotest/dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ djangotest/djangotest/dispatch.wsgi/$1 [QSA,PT,L] Next create another djangotest directory within the first djangotest directory. This is the standard directory structure for a Django project so don't give me that look. I'm sure they did it on purpose just to make it more confusing for you. Also you can't name your Django project django either, so don't even bother trying. That's why we're calling this example djangotest. Inside the second djangotest directory make a file named dispatch.wsgi with these contents: import os, sys # edit path below sys.path.append("/home/domain.helioho.st/httpdocs/djangotest") from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangotest.settings') application = get_wsgi_application() Make sure you edit the path in the dispatch.wsgi file. On Plesk your path is /home/ and then your main domain, and then httpdocs if you're a new account or public_html if you've been transferred from cPanel. Inside the second djangotest directory create an empty file named __init__.py Inside the second djangotest directory make a file named urls.py with these contents: from django.contrib import admin from django.urls import path urlpatterns = [ # path('admin/', admin.site.urls), ] Inside the second djangotest directory make a file named settings.py with these contents: from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'django-makeyoursecretbetterthanthis' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ['*'] # Application definition INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'djangotest.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] WSGI_APPLICATION = 'djangotest.wsgi.application' # Database # https://docs.djangoproject.com/en/4.1/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } } # Password validation # https://docs.djangoproject.com/en/4.1/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/4.1/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.1/howto/static-files/ STATIC_URL = 'static/' # Default primary key field type # https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' Make sure your directory structure and files look like this: djangotest/ ├── djangotest │ ├── dispatch.wsgi │ ├── __init__.py │ ├── settings.py │ └── urls.py └── .htaccess 1 directory, 5 files If you did everything right it should look like this: https://krydos.heliohost.org/djangotest/
  10. Your donation has been linked and your ETA can be found at https://heliohost.org/eta/?u=animal You're currently #41 so you should receive your invite on October 5th or so depending on if the rate remains the same. Yes, you will be able to create an account on Tommy now even though you were on Johnny before. Thanks for the donation.
  11. Between install attempts did you fully delete and recreate the database?
  12. There you go https://heliohost.org/eta/?u=atomicbob Thanks for the donation.
  13. Login at https://heliohost.org/login/ > Continue to Plesk > Mail tab on the left > Click email address > Click spam filter tab along the top > Configure your spam prevention rules.
  14. Does it work now?
  15. They've been removed now. If you have a coin that we don't have listed at https://heliohost.org/donate/ we may be accept it and add the wallet to the list. Like Wolstech said privacy coins aren't as easy to convert to USD for us to pay the bills so we discourage their use.
  16. Yes, you can sign up for a VPS at https://heliohost.org/vps/ and they are available immediately.
  17. Yep, you're right. Not sure why it was missing from ns2. As a bonus I created an AAAA record for you in case you want to support IPv6 on your domain. Make sure your webserver knows to respond on 2001:470:1:1ee::15 root@brody [/home/krydos]# dig +short A @ns1.heliohost.org norden.heliohost.us 216.218.228.92 root@brody [/home/krydos]# dig +short A @ns2.heliohost.org norden.heliohost.us 216.218.228.92 root@brody [/home/krydos]# dig +short AAAA @ns1.heliohost.org norden.heliohost.us 2001:470:1:1ee::15 root@brody [/home/krydos]# dig +short AAAA @ns2.heliohost.org norden.heliohost.us 2001:470:1:1ee::15 If you'd rather not deal with IPv6 let me know and I can delete the AAAA records again.
  18. The username is hchang just like the forum account, and the forum email address matches the VPS account too. Your subscription has been canceled and you won't be charged again. Thank you for using our VPS service.
  19. You database has been compressed and emailed to you.
  20. I scoured the logs and it looks like you created your account on 2020-06-13, and then deleted it sometime during the next 5 months before 2020-11-05. We didn't log deletions back then so I don't know the exact date. The only people who are being transferred are people who have active accounts. If you're interested in signing up for a new account I can add you to the waitlist so you'll get an email when signups are available again.
  21. Ubuntu's newest OS has been out for long enough, and enough software supports it that we're going to make it the default choice for new VPS now. If you signup for a VPS please make sure all of your software will work, and if not you can select Ubuntu 20 or any other OS we offer from the custom option during the signup process.
      • 1
      • Like
  22. There you go https://heliohost.org/eta/?u=ytmusic You're currently #184 which at the current rate will be about 18 days. Everything seems to be going well though so we may raise the rate of invites.
  23. You can either use our nameservers which are ns1.heliohost.org and ns2.heliohost.org OR You can use any external DNS provider, Cloudflare is a popular free choice, by creating an A record pointed to 65.19.141.77. You're on cPanel currently, but after you're transferred that would the IP address to set. Right now we're moving 10 accounts per day, but we're considering raising that amount. Without a donation you're currently #745 https://heliohost.org/eta/?u=atomicbob in line to be moved over so at 10 invites per day it would take 74 days, or for even just $1 donation it would move you up to October 20th at our current rate. Please note that the rate of invites can be raised or lowered or stopped entirely depending on if we run into any serious issues or if things are going well. So far everything is looking good though.
  24. Ahhh, that's interesting. I've never heard that one before. Glad you got it working.
  25. I reset your password thinking maybe your user was created without wheel privileges, and then tried logging in. login as: huberret huberret@65.19.191.157's password: Last login: Mon Sep 26 07:57:10 2022 from <removed> To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. huberret@vps74:~$ sudo su [sudo] password for huberret: root@vps74:/home/huberret# whoami root root@vps74:/home/huberret# The sudo su command works for me. I set your password back to what it was. Maybe try using the passwd command to change the huberret user's password and see if you can do sudo su after that.
×
×
  • Create New...