3 replies
  • WEB DESIGN
  • |
hi. im just wondering if anyone knows how to connect to a local host?
#host #local
  • Profile picture of the author scottyb1988
    i have xammp is this the right thing to use and does anyone know how to use it
    thanks
    {{ DiscussionBoard.errors[637685].message }}
  • Profile picture of the author kara7
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[638124].message }}
    • Profile picture of the author robertstr
      I think you can reach it by omitting the "~your_user_name", so that it is just http://localhost/myTestFile.html. I think that by default localhost refers to the sites directory, so if you don't have a "your_user_name" subfolder there, it will not find the file. Good luck!
      {{ DiscussionBoard.errors[640724].message }}
      • Profile picture of the author Philarmon
        I guess you have figured it out by now but just for the case you don't:

        1. run xampp_start.exe which is in your xampp installation directory
        2. when you have got this black window saying "Apache + Mysql is starting now", the server should be up and running
        3. just enter "localhost" (without the quotes) into your browser's adress bar - you should get the xampp startup screen where you can access PHPmyadmin (database)
        4. localhost is pointing to xampp/htdocs folder, so if you want to access a website on your local server, this website should reside in a folder within the htdocs folder, like xampp/htdocs/mywebsite . To access it, just type in "localhost/mywebsite" into the browser.

        Hope that helps
        {{ DiscussionBoard.errors[649312].message }}

Trending Topics