On 10/10/22 13:53, Rich Shepard wrote:
> I want to add another DNS record for my web host, one that allows access to
> the site using https://appl-ecosys.com in addition to the current
> https://www.appl-ecosys.com. My long chat with a namecheap tech didn't
> provide me with the answer.
>
> Here's a summary of the current DNS records (IP addresses redacted):
> Type          Host            Value
> A record      @               Office static IP address
> A record      mail            Office static IP address
> A record      www             Web site host IP address
> TXT record    @               v=spf1@office static IP address
> TXT record    @               v=spf2@office static IP address
>
> How can I allow web site visitors to access it without the 'www' prefix?
>
> TIA,
>
> Rich

Rich,

After reading over this thread, you are all making this harder than it
has to be. I'm no DNS expert, bu you just need a CNAME that to add
another web host alias/redirect.  No need to monkey with URL redirect
that can get you blocked as a bad actor.

For example, I use Linode for www, and a home server for gopher and
mumble.  Mail goes to MX records (and a few others for protonmail domain
keys etc that I left off). The gopher and mumble servers get split off
via port forwarding, hence I don't need a separate home

     linuxgalaxy.org                A        <linode ip>
     linuxgalaxy.org                MX       <protonmail domain>
     linuxgalaxy.org                MX       <protonmail dpmain>
     gopher.linuxgalaxy.org         A        <home office IP>
     kingbeowulf.linuxgalaxy.org    CNAME gopher.linuxgalaxy.org
     mumble.linuxgalaxy.org         CNAME gopher.linuxgalaxy.org
     www.linuxgalaxy.org            CNAME    linuxgalaxy.org

The A record is the website, linuxgalaxy.org. The redirect is the CNAME
www.linuxgalaxy.org that points to linuxgalaxy.org

This both https://[www].linuxgalaxy.org return the same IP. The home
server IP for gopher.linuxgalaxy.org is the A record with [kingbeowulf |
mumble].linuxgalaxy.org as CNAME aliases.

The mail for <user>@linuxgalaxy.org is via a MX record.

-kb


Reply via email to