Test in local mode

Discussion in 'Installation/Configuration' started by jfruano, Aug 16, 2007.

  1. jfruano

    jfruano New Member

    How I can test in local mode with my server without any network connection and work the pages in php and databases?

    Now I test and only show the html pages, in php shows the source code of the page, except the panel control of ISPConfig and the applications called from the same (phpmyadmin run inside the panel but not from out).

    To enter the panel I put http://localhost:81

    What address is necessary put for view correctly the domains hosted ?


    Thanks much for any suggestions

    J.F. Ruano.
     
  2. jfruano

    jfruano New Member

    Help please

    Nobody help me, no suggestion ?:eek:

    Thanks.
    J.F. Ruano
     
    Last edited: Aug 17, 2007
  3. falko

    falko Super Moderator Howtoforge Staff

    Please add the domains of the web sites you created with ISPConfig to /etc/hosts, e.g. like this:

    Code:
    127.0.0.1 localhost.localdomain localhost www.example.com example.com
    You can then use www.example.com in your browser to test that site.
     
  4. jfruano

    jfruano New Member

    Thank you Falko but not show the pages of php ( show the code of the page) :confused:
    And I to put:
    Http: // 127.0.0.1/www.example.com/web/

    if not. showme the directory of the domain.

    The pages html show well

    Thanks again.

    J.F. Ruano
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Please make sure that you enabled PHP for that web site in ISPConfig.
    You must use www.example.com in your browser.
     
  6. jfruano

    jfruano New Member

    Thanks Falko.

    Now running well, I have bad configured the I.P. in ISPConfig :eek:

    J.F. Ruano
     

Share This Page