Requirements
PHP and MySQL versions, the extensions, DNS lookups, writable folders, cron, SSL, cPanel shared hosting or a VPS, mail, sizing, and what to have ready before the installer.
AIODomain is a domain-name marketplace that you run on your own hosting. Buyers search and watch domains, sellers list them and prove they own them, and your staff run everything from an admin panel with roles. It is plain PHP and MySQL, with no build step and no background program, so a normal cPanel host is enough. This chapter lists what the host must have, what the installer checks, and what to have ready before you start.
1. Two ways to host it
| Way | For | Notes |
|---|---|---|
| cPanel shared hosting | A new marketplace, a small team, a first launch | Works as it is. You need a domain or sub-domain, one MySQL database with a user, and a cron job. |
| A VPS or dedicated server | A busy marketplace, many sellers, your own mail server | The same files. Run it behind Apache with mod_rewrite (the shipped .htaccess does the routing), behind LiteSpeed, or behind nginx with a rule that sends every request that is not a real file to index.php. |
Both run the same code. Nothing in AIODomain needs root access, a daemon, Redis or a command line. Redis is an optional cache driver for big sites and is off by default; the file cache in data/cache is used instead.
2. The server
| Needs | Why |
|---|---|
| PHP 7.4 or newer (8.1 or newer recommended) | The installer refuses anything older. |
| MySQL 5.7+ or MariaDB 10.4+ | All data lives in one database. Tables use the utf8mb4 character set and the InnoDB engine. |
| A domain or sub-domain pointed at the folder | The licence is bound to the host name, and members see this address. A sub-folder works too, see Installing. |
| Outgoing HTTPS | The script talks to the License Center at lcpanel.com, to the RDAP service that reads registry data, to the exchange-rate service, and to the product site for the version check. |
| DNS lookups from PHP | Ownership verification reads the TXT and CNAME records of the seller's domain with the PHP function dns_get_record. If the function is missing, the installer stops. |
| Outgoing port 43 (optional) | Used by the WHOIS fallback when RDAP has no answer for an extension. Many hosts allow it. If yours does not, RDAP still works for most extensions. |
| A cron job every 5 minutes | Mails, DNS checks, listing expiry, saved-search alerts, exchange rates, the sitemap and housekeeping run from it. A web cron works if the host has no real one. See Installing. |
| An SSL certificate | Strongly recommended. Members type passwords and send identity documents on these pages. Most hosts give a free one. After it works, switch on Force HTTPS (HSTS) under Settings → General Settings → Security. |
3. PHP extensions
The installer lists these on its first step with a green or red mark.
| Extension | Status |
|---|---|
pdo_mysql, curl, json, mbstring, openssl | Required. The installer does not go on while one is missing. |
gd, fileinfo, intl, zip | Recommended. The wizard marks them missing - optional if they are absent. gd resizes pictures, fileinfo checks uploads, intl handles non-Latin (IDN) domain names, zip is needed to upload a plugin or a theme as a ZIP. |
zlib | Needed by the SQL backups, which are compressed. Almost every host has it. |
redis | Optional. Only if you switch the cache driver to Redis in config.php. |
On cPanel, switch extensions on under Select PHP Version (CloudLinux) or MultiPHP INI Editor. After the install, Settings → System & Maintenance shows the same list again as green and red marks, together with the PHP limits that matter.
4. Folders that must be writable
| Folder | Used for |
|---|---|
| The main folder | The wizard writes config.php and installed.lock here. After the install you may lock it down. |
data/ | Logs (data/logs), cache (data/cache), temporary files (data/tmp) and SQL backups (data/backups). Never served to the web. |
uploads/ | Logos, listing pictures, avatars, blog and media pictures (public), and identity documents and attachments (private). |
languages/ | Needed only when you add a language or save a dictionary file from the admin area. |
plugins/ and themes/ | Needed only if you upload a plugin or a theme as a ZIP from the admin area. |
The script creates the sub-folders it needs under data/ and uploads/ the first time it runs, and puts a deny rule in the private ones. The shipped .htaccess also blocks web access to includes, data, cron, languages, docs, the page folders, config.php, installed.lock, db_update_lib.php, plugin code (plugin assets/ stay public), uploads/attachments and uploads/kyc, and refuses .json, .lock, .log, .sql and .md files.
5. Limits worth checking
| PHP setting | Suggested | Why |
|---|---|---|
upload_max_filesize and post_max_size | 16M or more | Identity documents, proof screenshots, ticket attachments and CSV imports are uploads. The marketplace has its own cap too: Largest upload (MB) under the Security settings, 8 by default. |
memory_limit | 128M or more | The CSV import and the backup read many rows. |
max_execution_time | 60 s or more for the web, unlimited for cron | The cron job and the database update can take a while on a big marketplace. Most hosts already run cron with no limit. |
disable_functions | Should not list dns_get_record or fsockopen | Verification and the WHOIS fallback need them. |
The System & Maintenance page also shows whether PHP may start programs (exec or similar). That is only needed for the Run now button of the cron and the Run the database update button. If it is off, those two have a web-address alternative, so it is not a blocker.
6. What you need ready
- A database: its name, user and password (on cPanel: MySQL Databases, create the database, create the user, add the user to the database with all privileges). The wizard also tries to create the database if the user may do that.
- An e-mail address for the marketplace. It becomes the sender address of every message, the contact address and the first administrator's sign-in e-mail.
- Mail settings if you want to send through an SMTP server: host, port, user and password. PHP
mail()is the default and needs nothing, but SMTP on your own domain reaches inboxes more often. - Your licence key from lcpanel.com (My Licences). It looks like
AIOD-XXXX-XXXX-XXXX-XXXX. You can skip it during the install and enter it later; without a key the marketplace holds only 10 listings to try things. See The licence key. - A logo (PNG, SVG or WebP) and a favicon, if you have them. You can add them on the first day.
- A list of categories and extensions you want to promote. AIODomain ships with 22 categories and about 140 extensions, so you can start with those and change them later.
7. Browsers and languages
The site and the admin area work in current Chrome, Edge, Firefox and Safari, on computers and phones. Visitors can use the site in English or Bengali, and in light or dark mode. More languages are added as dictionary files, see Settings.
8. What this release does and does not do
This release (1.0.0) is the core marketplace. Sellers list domains with a fixed price, an offer-only price or both, prove ownership by DNS, and are approved by your staff. Buyers search with many filters, watch domains, save searches with e-mail alerts and write to sellers. Staff moderate listings, messages, identity documents and support tickets.
Checkout, payments, escrow, domain transfers, auctions, offers with counter-offers and payouts are not in this release. They arrive in later releases, and the tables for them are created by the release that uses them. Until then a buyer and a seller agree a sale through the message thread, and a moderator or the seller marks the domain as sold. Chapter Buying says the same to buyers.
9. Mail on your host
A marketplace lives on e-mail: sign-up links, password resets, new messages from buyers, listing approvals and saved-search alerts all go out by mail.
| Way to send | When to use it |
|---|---|
PHP mail() (the default) | The quickest start. It needs nothing but works only if the host allows it. Some hosts also need the Set the envelope sender (-f) switch under Settings → General Settings → E-mail. |
| SMTP | Recommended for a real launch. Enter host, port, encryption, user and password in the same tab. Port 587 with TLS is the usual choice. |
Whichever you use, send from an address on your own domain, and ask your host or DNS provider to set up SPF and DKIM for it. Without them many inboxes put the mails in the spam folder, and sellers will miss buyers' messages. Every mail is written to the E-mail Log with its result, so you can see what went out and what failed.
10. The server clock and the time zone
Dates in the admin area and the daily jobs use the Time zone you choose in the wizard (Settings → General Settings → General later). Ownership tokens, listing periods and licence checks all count in real time, so keep the server clock correct. If the clock of the server is wrong by hours, a pending verification may expire early and a licence check may look late.
11. How much hosting do you need
AIODomain is light. The heavy parts (DNS checks, registry lookups, mails) run in the background from the cron job, not while a visitor waits. These are starting points, not promises.
| Marketplace size | Hosting that is enough |
|---|---|
| Up to about 1,000 listings and a few hundred members | Good shared hosting (cPanel), 1 CPU share, 512 MB of memory, 2 GB of disk. |
| Up to about 10,000 listings, thousands of members | A small VPS with 2 CPU cores and 2 GB of memory, MariaDB on the same machine. |
| More than 10,000 listings, busy search | A VPS with 4 CPU cores and 4 GB of memory or more, and Redis for the cache (set AD_CACHE in config.php). |
Disk grows with uploads (identity documents, listing pictures, ticket attachments) and with the SQL backups in data/backups. Download old backups and delete them from the server from time to time, see Updating.
12. Pre-flight checklist
Tick these before you open the installer:
- The domain opens a page on your hosting (even a blank one) over HTTPS.
- PHP is 7.4 or newer for this domain, with the required extensions on.
- The database and its user exist, and the user is added to the database.
- You have the licence key at hand, or you accept to enter it later.
- You know which e-mail address the marketplace sends from, and the mailbox exists.
- You can add a cron job in the hosting panel, or you have picked a web cron service.
- You have a way to make backups (the System page makes SQL backups; the hosting panel can copy the files).
Next
Installing AIODomain takes about two minutes.