Having trouble setting up subdomains

Hello all,

My domain is insulted.xyz and I'm trying to set up the subdomain esc.insulted.xyz but I'm having some trouble.

I've created a conf file:

root@ubuntu:/etc/apache2/sites-available# cat esc.insulted.xyz.conf
<VirtualHost *:80>
        ServerAdmin webmaster@insulted.xyz
        ServerName esc.insulted.xyz
        DocumentRoot /var/www/flarum/public

        <Directory /var/www/flarum/public>
            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted

        <files xmlrpc.php>
            order allow,deny
            deny from all

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

and enabled it with a2ensite, as well as set up an A record in the Linode DNS manager:
esc Default

and when I wget esc.insulted.xyz locally, it returns the expected page, however, when attempting to access this domain remotely I see the error "DNS_PROBE_FINISHED_NXDOMAIN". Before adding the A record, my error was "ERR_NAME_NOT_RESOLVED".

What can I do to resolve this issue?

1 Reply

To answer my own question:

This was due to the time it takes for DNS propagation, which I was previously unaware of. The entire process took about 45 minutes from record creation.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct