Hi All,

I have just installed XAMPP to use as a localost to develop my web site. I don't know how to access the local host with ftp or my web browser. What is its address? How do I upload a new web site to it?

I would really appreciate some help.

Thanks.
Dick

Dani AI

Generated

Good follow-on for the thread. pointed you toward the local web root; two practical ways to work from there are (A) edit or copy files straight into the server’s document folder from your editor or a version-control checkout, or (B) run a local FTP/SFTP service that points its user home at that same folder so an FTP client can “upload” to your machine. Option A is simplest for a single-developer setup; option B can mirror your production workflow if you prefer an upload step.

For : Tomcat is a Java servlet container (not the same as the Apache/PHP stack in XAMPP). A typical, minimal Tomcat webapp looks like this:

myapp/
  index.jsp
  WEB-INF/
    web.xml
    classes/
    lib/

You can deploy either by dropping a folder (or a WAR file) into Tomcat’s webapps directory or by using the Tomcat Manager (which requires a user with the manager role configured in tomcat-users.xml). Put your JSPs and static HTML inside the app folder, then access that app via Tomcat’s HTTP port.

A few practical tips that fill gaps in the replies above: use the hosts file plus Apache virtual hosts if you need friendly local names; watch for port conflicts (IIS, Skype, etc. often grab HTTP ports); and prefer an IDE with Tomcat/Eclipse or IntelliJ integration if the command-line docs feel dense.

Troubleshooting checklist: check the server logs (Tomcat’s catalina logs and the web server error log), clear browser cache when files don’t update, confirm file permissions, and run services with appropriate privileges on Windows. If you want, follow up with which OS and exact XAMPP/Tomcat versions and I’ll suggest the exact config file lines and manager settings.

Recommended Answers

All 6 Replies

You haven't mentioned which operating system you are using. I assume you are using windows XP. Also you didn't mention where you have installed XAMPP in your Computer I mean in which path. I assume you have installed in C:\xampp
If it is installed in the above location, your Web Root directory will be here :
C:\xampp\htdocs
This is your /public_html folder . Copy your website in that.

You haven't mentioned which operating system you are using. I assume you are using windows XP. Also you didn't mention where you have installed XAMPP in your Computer I mean in which path. I assume you have installed in C:\xampp
If it is installed in the above location, your Web Root directory will be here :
C:\xampp\htdocs
This is your /public_html folder . Copy your website in that.

Thanks for thr reply. You are correct, I am using XP. Now that I have moved my files, how do I tell my fpt and browser to look on the local host rather than the internet?

After starting apache from The Xampp Control panel in your browser type this http://127.0.0.1/
or http://localhost/ That's it.
It should open the index (index.php or index.html) file resides in the document root. (in this case C:\xampp\htdocs)

Thank you very much.

Dick

Any time mate.

how do we run web form in Apache Tomcat 7.0.8 connnecting the jsp and run the html file please ..... i am not getting correctly how the Apache tomcat really works . The Apache by default tutorial is very high to understand

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.