Frequently Asked Questions

Here you can find answers to frequently asked questions.

Databases

What is my database username/password?

Username is your system user name (without the @hostname part). Password is the MySQL or PostgreSQL password which you can find in the "Database passwords" section on the system user page. The phpPgAdmin/phpMyAdmin URLs can be found in the "Server informations" section on the system user page.

Django

When accessing development server, I get 503 - Service Not Available

You probably forgot to start the development server. Go to your Django project directory and use the sh RUN command (which is mentioned in the Django installation mail) to start the development server.

My deployment Django is not running (500 - Internal Server Error)

Make sure your deployment Django is running using:

~/init/yourdjango start

If it still doesn't work, there might be errors in your code which you need to fix.

Changes made to my Django project are not visible on the deployment page

You need to restart your deployment Django:

~/init/yourdjango restart

Can I use memcache?

Yes, you can use memcache. If you wish to use it, please create a new local port in wcenter and run memcached on that port:

/usr/bin/memcached -p yourport -d

Don't forget to create a script in your ~/init/ directory to make sure that memcached will start up correctly.

How do I remove a Django installation?

In order to completely remove a Django installation (to run the Django installer again) you have to:

  • Remove the Django (but not lighttpd) port
  • Remove the website proxy for the website pointing to your lighttpd
  • Remove the Django entry from your ~/lighttpd/django.conf
  • Remove the Django installation and project directories
  • Remove the Django init script in ~/init/yourdjango

Domains / DNS

Can you register a domain for me? Can I transfer my domain from my current registrar to you?

No, we are not a registrar. We recommend you use a registrar that lets you set custom DNS servers, for example godaddy.com. Then you can set our DNS servers and our web interface will automatically keep track of your domain's DNS records.

How do I manage my DNS records?

The easiest way to use your domains with djangohosting.ch is to set the NS records to our nameservers (ns1.wservices.ch, ns2.wservices.ch, ns3.wservices.ch). Otherwise, if you prefer to host your domain elsewhere, you should copy the exact domain records from the "Automatically managed DNS records" section of wcenter to your domain hoster.

What are your DNS servers?

Set the NS records of your domain as follows:

ns1.wservices.ch (188.40.111.201)
ns2.wservices.ch (91.121.152.196)
ns3.wservices.ch (78.46.63.71)

wcenter will keep track of all DNS records for you.

Free domain

If you need a free subdomain for testing purposes or do not have a domain, simply add a domain ending in sites.djangohosting.ch (e.g. yoursite.sites.djangohosting.ch).

Email

How do I send email?

The hostname of the mail server (POP3/IMAP/SMTP) is mail.wservices.ch. SSL is recommended if possible. Use your email address as your SMTP and IMAP/POP3 username.

Webmail is available at https://webmail.wservices.ch/

Note that if you're sending emails from Django, you should use the local mail server (i.e. no configuration is necessary).

Website

I get the default wservices.ch page

The "default page" means that you probably forgot to add a website proxy in wcenter which redirects all your website requests to your local web server. Another possibility is that you set up a wrong DNS record for your website when hosting externally. Please use the records from the "Automatically managed DNS records" section of the domain.

Can I use SSL?

Yes. If you need a custom SSL certificate (which you probably want), you need to a dedicated IP, which will cost additional 5 EUR per month. Please open a ticket if you are interested.

A project of wservices.ch A project of wservices.ch