Jump to content

Archived

This topic is now archived and is closed to further replies.

lilmer

Create dummy I.P. for Web Hosting

Recommended Posts

I have question about I.P. configuration. On IIS server we have a default I.P.  that we use to access the web pages,e.g. 123.45.6.7 .  Can I change  I.P. or going to create a virtual I.P. just to view specific page. 

 

Current I.P. : 123.45.6.7

Virtual I.P.  : 134.25.7.6/page

 

I am using codeigniter as my framework.  Or maybe if it can be done on coding?

Share this post


Link to post
Share on other sites

No. IP addresses are not like host or domain names that you can make up as you go.

 

The only way it would be possible is if the server running IIS had two network connections, one on the 123.45 network and a second on the 134.25 network.

Share this post


Link to post
Share on other sites

So I really need two server for that. Okay thanks. 

Share this post


Link to post
Share on other sites

So I really need two server for that. Okay thanks.

No, you need two network interfaces for that.

Share this post


Link to post
Share on other sites

Networks Interfaces. Okay, I guess I have to study that first. Thanks.

Share this post


Link to post
Share on other sites

It depends on what your needs are. A single interface can have multiple IP's assigned to it, however they must all be part of the same network, eg: 192.168.0.10, 192.168.0.11, 192.168.0.12, etc.

 

If you need IP's on different networks then the need to have to separate interfaces, one connected to network A, the other to network B.

 

Whether you even need multiple IP's also depends on you are doing. For web hosting you generally do not need a separate IP for each site, you just use one IP and name-based virtual hosting.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.