Skip to content

Vendor Subdomains & Custom Domains

Add-on ID: kv_vendor_domains · Edition: Multi-Vendor only · Latest version: 1.0.0 · Compatible with: Multi-Vendor 4.17.2 – 4.21.x, PHP 7.4 – 8.3 · Changelog: view

Vendor Subdomains & Custom Domains gives every vendor of your marketplace a store address of its own:

  • A subdomain such as acme.example.com, served from your wildcard DNS record.
  • Optionally the vendor’s own domain such as shop.acme.com, connected with a DNS record the vendor creates and the add-on verifies.

The vendor’s address shows the vendor’s page as its home page and only the vendor’s products everywhere: categories, search, product blocks, the vendor’s sitemap. Links inside the vendor store keep the vendor’s host.

What makes it safe for a marketplace:

  • Plan rules. You decide per vendor plan whether subdomains and custom domains are allowed and how many domains a vendor may have. Move a vendor to a cheaper plan and its domain stops being served.
  • Approval. Subdomains go live at once or after your approval. Custom domains wait for the DNS check and, if you want, for your approval.
  • DNS verification and monitoring. A TXT record proves ownership; a CNAME or A record proves routing. Active custom domains are re-checked every day, suspended when DNS is lost and restored when it is healthy again.
  • Consistent canonical URLs. Canonical URLs, hreflang links and JSON-LD URLs follow one rule you choose (marketplace domain or vendor domain). In vendor domain mode each vendor host also has its own sitemap.xml and robots.txt.
  • The cart stays on the marketplace. Cart, checkout, login, account and orders always run on your marketplace domain. Links and buttons on a vendor host lead there; add to cart reaches the marketplace session through a top-level navigation, which also works for vendors’ own domains.
  • Built for the 4.21 full page cache. Output depends on the host only, never on a visitor, so a cache that keys on the host keeps one copy per host. This was tested with CS-Cart’s block cache; it was not tested with the full page cache or Varnish, so check it on your own stack first.

The add-on does not issue certificates and does not edit DNS. You provide the wildcard DNS record, the wildcard certificate and, for custom domains, a way to serve HTTPS for them (see Installation).

Page Contents
Installation Requirements, DNS and web server setup, certificates, installing, upgrading, uninstalling
Configuration Every setting, plan rules, privileges, the license
Usage Step-by-step for administrators and vendors, what visitors see
Developer notes Tables, hooks, routing, caching, sessions and cookies, file map
FAQ Common questions and troubleshooting

Kavio Labs Software Limited · https://cs-cart.kaviolabs.com · Documentation: https://cs-cart.kaviolabs.com/docs/vendor_domains/