DNS

Discussion in 'Server Operation' started by Emerson Amaro de araujo, Feb 3, 2025.

Tags:
  1. I have a subdomain tenant.emerson.net.br and would like to create a DNS entry that meets the following configurations
    *.tenant.emerson.net.br. Is this possible with ispconfig?
     
    Last edited: Feb 4, 2025
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    Yes that's possible in ISPC. You can create a * A and/or AAAA or CNAME record for example.

    Though why would you want to?
    Does it have a real purpose or is it just lazyness not having to create other subdomains by hand?
    With any other reason then a real purpose --> DONT
     
    Last edited: Feb 3, 2025
  3. Yes, there is a reason, I will create multi-tenancy, multi-database,
    I will test your guidance.
    On my local machine I did it like this.
    <VirtualHost *:80>
    ServerName emerson.tenant
    ServerAlias *.emerson.tenant
    ErrorLog ${APACHE_LOG_DIR}/tenants.error.log
    CustomLog ${APACHE_LOG_DIR}/tenants.access.log combined
    DocumentRoot /home/emerson/public_html/tenant

    <Directory /home/emerson/public_html/tenant>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
    </Directory>
    </VirtualHost>
     

Share This Page