I have installed Virtualmin 3.703.gpl module in my Webmin 1.480 panel of my Ubuntu 9.04 HyperVM VPS . Now I have added 1 domain named web2dziner.com using Virtualmin virtual hosts. The problem is when I type http://web2dziner.com (wrong Apache default page ) and http://www.web2dziner.com (the desired page) , it goes to two different webpages. I haven't done any modifications as such directly to the Apache. How to fix it ?

1 answers, votes, 483 views
Anirban1987's picture
asked by Anirban Hazra
2 years 29 weeks ago



1 Answers

Answer

Please make sure the following in order to resolve your site successfully

  • Make sure you've added *.domain.com i.e in your case *.web2dziner.com in Alternate Virtual Server names under Networking and Addresses in Virtual Host options
  • Make sure Port, Document Root and Server Name configured correctly under Virtual Server options
  • Make sure you have added address records for web2dziner.com and www.web2dziner.com in Bind DNS Server Address Records
  • Make sure you have configured your domain correctly in /etc/dhcp/dhclient.conf
    • set the supersede domain-name "web2dziner.com"
    • restart bind9 using sudo bind9 restart
    • this step will make sure that it will always lookup the domain locally before talking to remote dns
geeky's picture
answer by Geeky
2 years 29 weeks ago

Ubuntu 11.04 released!

Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

Read ubuntu 11.10 reviews and share yours now!!

View in your own language!

Stay Connected

Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

Poll

Favorite desktop environment?: