#1  
Old 22nd December 2008, 23:35
DualFusion DualFusion is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 4
Thanked 1 Time in 1 Post
Default Apache Config.

Hi,

My ubuntu server is on a dynamic ip address. My router has the ability to connect to dyndns services. Lets say the hostname for my server is ns1.example.com and my account on dyndns.com is example.dyndn.org. And I have a CName on my host that directs all requests from ns1.example.com to example.dyndns.org.

Currently, the server shows the default 'It works' page. I have tried to create a virtual host:

Code:
<VirtualHost *>
        ServerName ns1.example.com
        DocumentRoot /var/www/ns1.example.com
</VirtualHost>
After, I enabled the site using a2ensite ns1.example.com and reloaded apache resources.

I go to the server online, and it still shows the 'It works' page. I am thinking that it might be because the server is located via IP >> DynDNS >> ns1.example.com so the server doesnt recognize that the request domain as ns1.example.com and not as roxbox.dyndns.org.

Is there anyway to fix this?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2008, 14:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,730 Times in 2,568 Posts
 
Default

Can you check if ns1.example.com is really pointing to your dyndns hostname?
Code:
dig cname ns1.example.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Prevent Apache config files from being overwritten ehsan Installation/Configuration 3 17th September 2007 10:52
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09


All times are GMT +2. The time now is 11:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.