#1  
Old 15th February 2013, 23:42
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default new server ip

My server has got a new ip address.
Changed the address via Server IP Address.
Added the ip address to all websites.

But the only thing i'm getting is

Quote:
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.
Is there anything i should do or check?
Reply With Quote
Sponsored Links
  #2  
Old 16th February 2013, 11:47
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

If I check the vhost for my one of my domains I get this:

Quote:
<Directory /var/www/mydomain.com>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost MyHomeIP:80>
DocumentRoot /var/www/mydomain.com/web

ServerName mydomain.com
ServerAlias *.mydomain.com
ServerAlias webmail.mydomain.com
ServerAdmin webmaster@mydomain.com

ErrorLog /var/log/ispconfig/httpd/mydomain.com/error.log
I think it is correct but I still only get the It Works! page.
Reply With Quote
  #3  
Old 16th February 2013, 14:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Do you see the IP in the output of
Code:
ifconfig
? If not, you must add it to your network 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
  #4  
Old 16th February 2013, 18:40
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Falko,
Yes did that.

Quote:
eth0 Link encap:Ethernet HWaddr 00:16:35:5b:7e:7c
inet addr:192.168.2.220 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::216:35ff:fe5b:7e7c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:330 errors:0 dropped:0 overruns:0 frame:0
TX packets:290 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42715 (42.7 KB) TX bytes:40248 (40.2 KB)
Interrupt:25
I added this 192.168.2.220 address as Server IP address in ispconfig. Should I also use this IP in the DNS records? Or should this be the external IP?
Reply With Quote
  #5  
Old 17th February 2013, 12:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

You must use the external IP in the DNS records and then configure your router to forward ports 80 and 443 to your web server.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
skoena (18th February 2013)
  #6  
Old 18th February 2013, 19:34
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
 
Default

It works now, tnx!
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
Not working emails (DNS and postfix problem?) shekiman Installation/Configuration 9 1st March 2011 16:25
Getmail problem cante93 Installation/Configuration 6 20th September 2010 14:40
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 22:08
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 06:05.


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