Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    8

    Default "Sorry, that domain is already setup (remove it from httpd.conf?)



    Hi,

    I tried to create an account (which I will transfer the domain across to), but it gives me the following error:

    "Sorry, that domain is already setup (remove it from httpd.conf?)"

    The account does not appear in "List Accounts", but I have previously created and then deleted the same account. Obviously the details were not removed from http.conf the first tiem.

    How do I remove the errant data from httpd.conf?

    Thanks,
    Phil

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Brisbane, Queensland, Australia
    Posts
    66

    Default

    To remove the domain information from the httpd.conf file, simply SSH into your server,
    type: pico /etc/httpd/conf/httpd.conf
    and then press: ctrl+w and type the domain name in and then hit enter.

    In case your worried that i might be telling you the wrong thing here
    pico is a editor for linux
    ctrl+w does a search in pico for any text you type in.
    its just like pressing alt+f in notepad to find text.

    once you found the domain, delete the domain name and the VirtualHost information along with it.
    then press ctrl+x and then hit, y
    and then hit enter.
    ctrl+x is to exit out of pico, y is to answer yes to saving the file
    enter is to save to the file you just edited.

    if your worried about doing anything wrong to your httpd.conf file, simply copy httpd.conf to your root directory: cp /etc/httpd/conf/httpd.conf /root
    then if you do anything wrong in httpd.conf, you have a backup copy of it to replace.

    Have fun, any problems feel free to ask questions.
    Linux is a community of sharing knowledge, not being greedy like Microsoft :P

  3. #3
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    just to add; after editing the httpd.conf; please restart httpd as root from shell using:

    /etc/rc.d/init.d/httpd restart

    or from your WHM.

    else your deletion will not take effect.

  4. #4
    Member
    Join Date
    Sep 2004
    Posts
    8

    Default Thanks

    Thanks to you both for your help. I don't have ssh access, though. I will ask the support staff to do this for me.
    Phil

Similar Threads & Tags
Similar threads

  1. how to remove domain from httpd.conf
    By hamedo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-29-2005, 04:12 AM
  2. Sorry, that domain is already setup (remove it from httpd.conf?)
    By wa4fat in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-27-2005, 04:49 AM
  3. Sorry, that domain is already setup (remove it from httpd.conf?)
    By FinalSoul in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-15-2005, 06:21 PM
  4. Domain is already taken. Remove from the httpd.conf first.
    By Chelp2 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-28-2003, 01:33 PM
  5. Sorry, that domain is already setup (remove it from httpd.conf?)
    By wacnstac in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-12-2003, 08:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube