当前位置:首页 > 虚拟机 > 正文

vmware虚拟机搭建网站(虚拟机怎么新建站点)

Build an asp website using VM virtual machine
1) Install the virtual machine
2) Install the win2003 system (or other systems) on the virtual machine
3) Start Virtual machine and install IIS
4) Set the directory on the virtual machine and copy the ASP website to the corresponding directory
5) If it is only used for debugging, you can already access your website through localhost at this time Website
6) Set the IP of the virtual machine to the same IP segment as your host, so that a local area network can be formed
7) If it is on a server and is for official use, IP binding must be set up Wait
vmware virtual machine construction website

The second floor is talking about bridge access.

vmware provides three virtual machine access methods, bridging, NAT and closed.

Since you are accessing the Internet through a router, you must have an intranet address. Bridging means that the virtual machine also needs an intranet IP, and the rest should be done according to the second floor. NAT means that the virtual machine does not need an independent IP. At this time, the host running it actually expects a proxy function. Closed means that the virtual machine can only access each other with the host running it.

You can choose one according to your own needs. To modify it, just change the network card in the properties of the virtual machine.

What we are talking about here is the access implementation of the network layer. As for the application layer, it is also very simple. The basic access related is to use the website building tool to generate a virtual directory. After completing the website building, use 127.0.0.1 to access it inside the virtual machine. If possible, it can be accessed from the outside. If your website has a domain name, it can be accessed using the domain name, but it needs to be properly bound on the routing side.