How do I work my fully qualified domain name and my root domain to a website

I hosted it jungle website using Apache server and I bought a domain name from GoDaddy. So the thing is that my fully qualified domain name is showing my website but my root to domain name is not working please how can I link it to the website.
For example
www.domain.com = Works
domain.com = Apache default page

1 Reply

@Devvspace --

There may be two issues here:

  1. In the Linode DNS manager, you need A/AAAA records for

    • domain.com
    • www (n.b., this should not be a fully-qualified domain name)

in that order.

  1. In your apache2(8) configuration, you need to have
ServerName domain.com
ServerAlias www.domain.com

within your <VirtualHost>...</VirtualHost> block.

-- sw

Reply

Please enter an answer
Tips:

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