Jump to content
Froxlor Forum

rhufsky

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by rhufsky

  1. 11 minutes ago, d00p said:

    Parameter: store_defaultindex (bool)

    Parameter: sendpassword (bool)

    You pass the plaintext password as froxlor hashes it according to the settings (and it's needed in plaintext to add the default ftp-user etc. internally or to send the password to the customer if the parameter 'sendpassword' is set to true)

     

    See: https://docs.froxlor.org/latest/api-guide/commands/customers.html#customers-add

    OK thanks

  2. I try to create a new customer via the API. I succeed in creating the customer and a standard domain. What I was not able to find out:

    - How can I tell the API to generate the default index.html

    - How can I tell the API to generate the default ftp account

    - How can I tell the API to send the login data to the customer (send password via mail)

    - I guess I have to send the hashed Password so how do I hash the password?

     

    What I tried is:

    command: "Customers.add",
    params: {
    new_loginname: "acustomer",
    email: "me@gmail.com",
    firstname: "Api",
    name: "Tester",
    password: "Generalissimss!1!",
    company: "The Mighty Conpany",
    adminid: 1,
    gender: 1,
    street: "Plamps Drive 5",
    zipcode: "122345",
    city: "Somewhere",
    phone: "",
    fax: "",
    customernumber: "",
    def_language: "de",
    diskspace: 40960,
    diskspace_used: 628,
    mysqls: 4,
    ftps: 1,
    subdomains: 0,
    traffic: 10485760,
    phpenabled: 1,
    pop3: 0,
    imap: 0,
    perlenabled: 1,
    dnsenabled: 0,
    theme: "Froxlor_dark",
    custom_notes: "",
    allowed_phpconfigs: [1],
    logviewenabled: 1,
    allowed_mysqlserver: [0],
    },

     

  3. I have a fresh froxlor 2.1.6 on ubuntu 22.04.

    When I create a new customer, and click "create standard domain", then the customer and the standard domain are created in the database. The zone file in /etc/bind/domains is NOT created.

    When I create an additional domain for the same customer, then both the database entries and the  zone file in /etc/bind/domains are created.

    What can I do, so the standard zone files are created as well?

  4. I have a fresh Froxlor 2.16 installation in a school setting. The hostname is something like web.lab.mydomain.com.

    I want to create a number of customers which are really students in our school. When i create a new customer and select "Create standard subdomain". Froxlor creates a domain like customername.web.lab.mydomain.com.

    Can I somehow configure froxlor to create a standard subdomain like customername.lab.mydomain.com?

     

    "

  5. 0

    I have a fresh Froxlor 2.16 installation on Ubuntu jammy, installed via apt.

    My installation runs on a server behind a reverse proxy. This reverse proxy handles Letsencypt certificates for a number of services.

    Now I want to route all traffic to froxlor through this proxy so the proxy also handles Letsencypt certificates for froxlor.

    The bind DNS server that is integrated in froxlor should serve my domnain names.

    In Settings -> System I can configure the default IP that is defined in the DNS server for a new domain.

    It seems that this IP must be one of the IPs of the network interfaces of the froxlor server.

    I would like to use the web-facing IP of my reverse proxy as default IP for a domain in the DNS, so all traffic is routed through the reverse proxy.  Can I do this and how? 

×
×
  • Create New...