Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2013, 22:58
Salital Salital is offline
Member
 
Join Date: Jul 2011
Posts: 48
Thanks: 5
Thanked 0 Times in 0 Posts
Default one static IP address & 2 phisical server

Hi Folks,

I try to explane my issue

In our office we have a static IP address and have 2 server:

server #1. a pc with IIS/Windows 2005 Server

server #2. a pc with Apache/Debian 6 codename: Squeeze

MY ISSUE

we have some websites in the server #1 and we don't have any problems in the 80 port. Anyone can reach the websites in this server

Instead if we put a website in a linux path of the server #2 through the internet this website isn't visible. After to change the dns for this website the online user if digit the url address appear a website in the server #1

HOW TO FIX

this issue to render the website in the server #2 trough internet?

I hope to explane well the issue and I hope to posted in the right section

thank you in advance,

S
Reply With Quote
Sponsored Links
  #2  
Old 18th March 2013, 17:53
danhansen@denmark danhansen@denmark is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 246
Thanks: 53
Thanked 5 Times in 5 Posts
Post 1 static IP & 2 Servers (1 real and 1 IIS) :)

Hi Salital,

I'm no specialist in Linux, but, I have had some of the same problems as you ealier on! Therefore here is 3 simple solutions. This is maybe not what you want to hear, but it is what it is

1. Move all websites from IIS to your Linux Webserver.. (I did it some years ago, it can be done) If you are hosting several sites which is not your own, then maybe you do not want to risc smashing the sites, I get that, then go directly to suggestion 2.

2. Get another IP number from your ISP, it can be done, I just did exactly that. For a few ekstra coins a month my ISP provided an extra static IP-number. If you are a private customer at your ISP they might be able to give you 1 extra static IP in addition to the IP you got togehter with your Router. By this I mean most private ISP's can provide 1 extra IP address - The one you got with your Router can be made static by choosing so in the Router setup - and therefore can not be regarded as an extra IP. Maybe you can use this argument to get another IP number which would solve your problem instantly.

3. Set your secondary server (less important or if it used for personal use) up to run on port ex. 81 instead of port 80 - then forward port 81 (portforwarding) in your router to the IP number for this server (ex. 192.168.0.101) I do not know if you are using NAT or how your setup is, but this is one way to do it. Then you can access the sites of this server by typing http://yourdomain.tld:81

I hope this will help you - usually I would not repply to anything in here due to my status as a novice, but in this case I had "some" knowhow to share..

I call upon some of the wizards in here to share some wisdom here
Reply With Quote
The Following User Says Thank You to danhansen@denmark For This Useful Post:
Salital (23rd March 2013)
  #3  
Old 23rd March 2013, 21:56
Salital Salital is offline
Member
 
Join Date: Jul 2011
Posts: 48
Thanks: 5
Thanked 0 Times in 0 Posts
Default

thanks a lot for your detailed answer ))

I wish you a nice day,

S
Reply With Quote
  #4  
Old 22nd April 2013, 12:57
ressel ressel is offline
Senior Member
 
Join Date: Apr 2007
Location: Denmark
Posts: 128
Thanks: 18
Thanked 5 Times in 5 Posts
Default

It is also possible to create a proxy on your lan, that will forward request to either server 1 or server 2.
Reply With Quote
  #5  
Old 6th June 2013, 19:13
comettom comettom is offline
Junior Member
 
Join Date: Jun 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Hello can you explain...

Can you explain how the proxy configuration?... thank you ... greetings
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
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 12:58
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
Pointing Webmail and Postfix Mail Server to Static IP Address need_a_linux_brain Installation/Configuration 0 12th May 2009 22:28
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53
Webmail Relay Error palkat General 17 23rd April 2006 18:12


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


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