Jump to content

Create dummy I.P. for Web Hosting


lilmer

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?

Link to comment
https://forums.phpfreaks.com/topic/280446-create-dummy-ip-for-web-hosting/
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.

  • 4 months later...

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.

Archived

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

×
×
  • 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.