FoodMonkey
NatadTech
  • πŸ‘‹Introduction
  • Installation
    • βš™οΈInstallation - Shared Hosting
    • πŸ”ƒUpdating - Shared Hosting
    • πŸ’»Installation - Local Machine
  • DEFINE BASICS
    • πŸ“‚Database
    • πŸ“©Mail Server
    • βŒ›Localization and Time Format
    • πŸ’²Payments
    • πŸ’±Pricing Plans
    • πŸ’°Stripe Gateway
    • πŸ’ΈPaystack Gateway
    • πŸ—ΊοΈGoogle API
    • πŸ“ˆGoogle Analytics
    • πŸ–₯️Google Authentication
    • πŸ‘€Facebook Authentication
    • πŸ›œOne Signal Push Notifications
    • πŸ“¨Twilio SMS Notifications
  • Usage
    • πŸ“ŒGetting Started
    • πŸ‘₯Register as an Admin
    • 🌏Multilingual Menu
    • ✏️Site Set-up
    • πŸͺRestaurant Subdomain
    • 🍴Single Restaurant
    • πŸ—£οΈTranslations
    • πŸ–ŒοΈCustom CSS
    • ⬆️Import from CSV
    • πŸ“Custom Fields on Order
  • Modules
    • πŸ’‘Project Modules
    • 🧩Module Installation
    • ➑️ShareThis
    • πŸͺCookie Consent
    • πŸ–¨οΈThermal Printer Module
    • πŸͺWebHooks
  • API
    • 🀝Client API
    • πŸ›΅Driver API
  • Information
    • ❓Frequently Asked Questions
    • πŸ“œChangelog
    • πŸ–₯️Developer Information
Powered by GitBook
On this page
  • Set Up Wildcard Subdomain
  • SSL - HTTPS
  • Forwarding Other Domains

Was this helpful?

  1. Usage

Restaurant Subdomain

PreviousSite Set-upNextSingle Restaurant

Last updated 1 year ago

Was this helpful?

Set Up Wildcard Subdomain

The most commonly used shared hosting framework is cPanel. Therefore, our guide will focus on it, although similar steps should apply to Plesk or any other solution.

Once your main domain or subdomain is active and your site is operational, you can assign each restaurant its own domain, as demonstrated in our demo.

While the main site is hosted at and features all restaurants, each individual restaurant can also be directly accessed. For example, .

This feature is directly enabled in your FoodMonkey site. However, you will need to create a wildcard subdomain that uses the same folder as your main site to fully utilize it.

  1. Log into your cPanel.

  2. Proceed to the Subdomains menu within the Domains section.

  1. Generate a subdomain using the asterisk symbol (*)

  • Specify "*" as the subdomain.

  • Choose your domain from the dropdown menu.

  • Choose the same document root, typically /public_html, and confirm your selection.

  1. Navigate to the Zone Editor menu.

  1. Ensure that there is an A record for *.yourdomain.com created and pointing to the server IP address. This IP address may coincide with the IP address of your main domain or ftp.yourdomain.com.

  1. Now, you'll need to wait for the propagation to complete. This process typically takes N seconds, where N is the TTL (Time To Live) for the A record. You can manually edit the TTL and reduce the number to speed up the process.

Once propagation is complete, the wildcard subdomain will function correctly. Each restaurant will now have its own subdomain automatically assigned.

You can open some restaurants on your site as examples.

In this case the subdomain is Diner1.

  1. Login as admin in your project and navigate to Settings / Setup. From there, select WILDCARD_DOMAIN_READY.

Article Instructions copied from

SSL - HTTPS

Our demo site operates on Laravel Forge, which also offers the option to automatically create wildcard SSL certificates via Digital Ocean NS.

Forwarding Other Domains

If you wish to point another domain to your FoodMonkey site or to a single restaurant (e.g., your client's restaurant domain should direct to the corresponding page on your FoodMonkey site), your client needs to forward their domain or subdomain to the restaurant's subdomain.

-- >

By default, wildcard subdomains are not SSL protected. To secure them, you can purchase or issue a wildcard SSL certificate, though they can be somewhat expensive. Alternatively, you can use to create your own free wildcard SSL certificate.

Plesk, by default, can enable SSL on wildcard subdomains. You can also refer to this for assistance.

πŸͺ
https://natadtech.com
https://diner1.natadtech.com
https://letsencrypt.org/
guide
https://natadtech.com/
https://natadtech.com/
How to create a wildcard subdomain in cPanel - Hosting - Namecheap.com
Logo