2 Replies - 3216 Views - Last Post: 30 August 2012 - 06:58 AM

#1 g37752  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 195
  • Joined: 24-July 12

my domain with www shows garbage site?

Posted 21 August 2012 - 10:30 PM

mydomain.com works fine, but www.mydomain.com shows a garbage site like those unsold domain?
(I use registrar's name server, but change A-record to my IP.)

my httpd.conf contains lines like:

<VirtualHost 1.2.3.4>
ServerName mydomain.com
ServerAlias www.mydomain.com
........
</VirtualHost>

How do I fix this?
thanks
Is This A Good Question/Topic? 0
  • +

Replies To: my domain with www shows garbage site?

#2 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5411
  • View blog
  • Posts: 27,423
  • Joined: 10-May 07

Re: my domain with www shows garbage site?

Posted 30 August 2012 - 06:42 AM

Your Virtualhost config should include the root folder & root file.

** Moved to Web Servers & Hosting **
Was This Post Helpful? 0
  • +
  • -

#3 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: my domain with www shows garbage site?

Posted 30 August 2012 - 06:58 AM

View Postg37752, on 22 August 2012 - 06:30 AM, said:

(I use registrar's name server, but change A-record to my IP.)

What is your domain?

Did you only change 1 A Record? You'd need to change the A Record for both . and www. on your domain.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1