Hiii guys,
I am making a website through dreamweaver and i want to install a virtual server on my laptop for accessing that website and i tried to install Apache servver but it does'nt seem to be works. So can anyone help me to sort out this problem.
What is the IP address i should enter to access that webpage.
http:/localhost is the default address but my web page is not be able to access from there.
Can some one help me out...

Dani AI

Generated

A concise troubleshooting and configuration note that builds on suggestions from , and while focusing on why an Apache install on a laptop often appears “not working.”

Start with a quick checklist (order matters):

  • Verify the Apache service/process is actually running (Services.msc or the Apache bin).
  • Inspect Apache’s error log (logs/error.log) and Windows Event Viewer for startup errors or missing DLLs.
  • Check whether another program already owns the HTTP port (port 80). Use these commands from an elevated prompt to find listeners and owners:
netstat -ano | findstr :80
tasklist /FI "PID eq <PID from netstat>"
ipconfig /all

If port 80 is in use, either stop the conflicting service (IIS, older Skype settings, etc.) or change Apache’s listening port in httpd.conf (for example Listen 8080 and ServerName localhost:8080) and restart Apache. Also confirm Windows Firewall allows the chosen port or the Apache executable.

File-location and Dreamweaver notes:

  • Ensure the site files are saved to Apache’s DocumentRoot (or update Apache’s DocumentRoot/virtual host to point at the Dreamweaver project). Confirm an index page exists (index.html/index.php as appropriate) and that file permissions allow the Apache user to read them.

If the server runs inside a VM (see ’s point), the network mode matters:

  • Bridged mode: the VM gets a LAN IP—use that IP in the host browser.
  • NAT mode: host-to-guest access requires port forwarding (map a host port like 8080 to guest port 80).
    Run ipconfig inside the VM to discover its IP and test from the host with the IP:port address.

Common failure signs: “bind” errors in logs (port conflict), “missing runtime” errors (Visual C++ redistributable), or permission/access denied entries. Resolving those three areas—service startup, port ownership, and correct document-root mapping—fixes the majority of “Apache installed but not responding” cases.

Recommended Answers

All 3 Replies

I run WAMP for development purposes. There is an easy setup and configuration guide that can get you up and running quite easily.

like Hearth said, use WAMP it easily installs itself on Windows systems for PHP programming and running of websites, else if you are using ASP then IIS is recommended (in-built in Windows, need to be enabled thou). Else, you can use a LAMP virtual machine to do the hosting (it will have to run from your physical machine however), and it will have its own IP address to be accessed.

Follow this guide to setup your server and have a website up in minutes:

http://www.tutorialchip.com/php/wamp-server-installation-guide-for-windows-7-3264-bits/ (XP also should follow almost same steps)

Regardless of what type of web you run, if you do so on a VM, what you enter in the address bar on your host machine is going to depend on the VM configuration.

For example, the easiest configuration is going to be if you "bridge" the network adapter on the VM. You would need to configure network adapter in your VM product so that the virtual machine is on the same subnet as your host machine. Then, your VM can either be assisgned a static IP on the same subnet.

then, from the host machine, just open the browser, and type If you want to access the vm via a host name, then either add the host name to your HOSTS file on your computer, or if you have a DNS server running on your internal LAN, just create a record for this vm.

Typing http://localhost on the host machine is not going to work if the website is running on a VM. this is because localhost resolves to 127.0.0.1. That is not the IP address of your VM. 127.0.0.1 is the loopback address on every TCP/IP system.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.