Skip to content
Branch: master
Find file History
Pull request Compare This branch is 1 commit behind v0.12.x.

Example - Domain, Subdomain and Wildcard Subdomain

This example application gives insights on how to use domains, subdomains and wildcard subdomains with aah framework. Reference to Routes Config.

Get aah examples

git clone aah-examples

Configure local DNS mapping

Firstly, configure hosts file. The purpose is to do local DNS mapping for This step is not applicable for production. Typically, these settings happen in domain DNS manager. Learn more about Wildcard DNS - wikipedia

This rackspace article covers the steps to modify-your-hosts-file for Mac, Linux and Windows.

Run this example

cd aah-examples/domain-subdomain
aah run

Visit these URLs

You can’t perform that action at this time.