Content shown www and without www are different

When accessing my domain with www.domain and domain, both showing different content. i am not sure why. using ubuntu 11

A record are setup ok

virtual host also ok.

www.domain.com showing wordpress installed

but domain.com showing >>>>

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.<<<<<<<<<<

any one have any ideas?

Thanks

2 Replies

What does your web server's configuration look like? Which web server software are you running?

Whats your FQDN set to in /etc/hosts?

Im guessing its domain.com? Try setting the FQDN to domain.local, restarting apache and seeing if that resolves it.

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