Restoring reseting web[id]

Discussion in 'General' started by lyndros, Mar 14, 2006.

  1. lyndros

    lyndros New Member

    I've playin around a bit with ispconfig, i've been creating new sites to test it, my problem now is that my next web[id] will be 8 and i only have three sites,
    ¿is there anyway to restore the web[id] index to a lower value or create a site with an especific index ?

    i've been searching in config files and forums and couldn`t find something :(

    thk u all guys
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The web[id] is not created by ISPConfig, it is the automatic ID generated by mysql on the doc_id column of the isp_isp_web table. You can reset the auto incremet key in phpmyadmin:

    1. Clicked on the Table isp_isp_web
    2. went to "Alter Table Structure"
    3. went to "Other Properties"
    4. then inserted the next number in "Autoincremet box"

    These steps might differ depending on your phpmyadmin version.
  3. lyndros

    lyndros New Member

    thks a lot :p

Share This Page