Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th March 2007, 13:48
smathaven smathaven is offline
Member
 
Join Date: Oct 2006
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
Default

why is it that i cannot access the web site that is on the check.npccmauritius.com (i.e 192.168.192.42)?
do i have to do another configuration somewhere?
Reply With Quote
Sponsored Links
  #12  
Old 20th March 2007, 16:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by smathaven
Is it wrong to add an internal IP in Dns?

I have added the following in the httpd.conf

NameVirtualHost 192.168.192.42
<VirtualHost 192.168.192.42>
ServerName check.npccmauritius.com
DocumentRoot /var/www/
</virtualHost>
but still it redirects to www.npccmauritius.com
What's the vhost configuration of www.npccmauritius.com, and what's the output of
Code:
ifconfig
?
__________________
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
  #13  
Old 21st March 2007, 09:19
smathaven smathaven is offline
Member
 
Join Date: Oct 2006
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
Default

the result of IPCONFIG is
eth0 Link encap:Ethernet HWaddr 00:04:75:c8:95:b1
inet addr:192.168.192.1 Bcast:192.168.192.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1024 errors:1 dropped:0 overruns:0 frame:0
TX packets:1024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155132 TX bytes:620
Interrupt:28

lo Link encap:Ethernet local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:3924 Metric:1
RX packets:1024 errors:1 dropped:0 overruns:0 frame:0
TX packets:1024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:218 TX bytes:23909
Reply With Quote
  #14  
Old 21st March 2007, 09:34
smathaven smathaven is offline
Member
 
Join Date: Oct 2006
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
Default

the ifconfig result is as follows:
eth0 Link encap:Ethernet HWaddr 00:04:75:c8:95:b1
inet addr:192.168.192.1 Bcast:192.168.192.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1024 errors:1 dropped:0 overruns:0 frame:0
TX packets:1024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155132 TX bytes:620
Interrupt:28

lo Link encap:Ethernet local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:3924 Metric:1
RX packets:1024 errors:1 dropped:0 overruns:0 frame:0
TX packets:1024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:218 TX bytes:23909
Reply With Quote
  #15  
Old 22nd March 2007, 18:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

What's the vhost configuration of www.npccmauritius.com?

Please make sure you use 192.168.192.1 instead of 192.168.192.42 in your Apache configuration.
__________________
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
  #16  
Old 23rd March 2007, 07:11
smathaven smathaven is offline
Member
 
Join Date: Oct 2006
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
Default

NameVirtualHost 192.168.192.42
<VirtualHost 192.168.192.42>
ServerName check.npccmauritius.com
DocumentRoot /var/www/
</virtualHost>

isn't this vhosts?
Reply With Quote
  #17  
Old 24th March 2007, 15:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

That's the vhost configuration of check.npccmauritius.com, not www.npccmauritius.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
php Apps email not going through palkat General 8 21st September 2011 06:35
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 20:29
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


All times are GMT +2. The time now is 10:13.


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