my previous coder send me this : Look at /usr/local/directadmin/data/users/property/httpd.add. Copy the content. Then modify /usr/local/directadmin/data/users/property/httpd.conf and search for the abc.com container <VirtualHost 0.0.0.0:88> ServerName www.abc.com Paste the http.add content WITHIN the <VirtualHost 0.0.0.0:88> and </VirtualHost> Restart httpd by using /etc/init.d/httpd restart That's it. Code (markup): how i going to do that ? my knowledge on ssh is just using putty to connect to server, then nothing else ..
Well, you would need Note: [ENTER] means -> Hit enter cd (change directory) - to change into that directory example: cd /usr/local/directadmin/data/users/property/ [ENTER] http://www.linfo.org/cd.html Code (markup): then vi - to open the file in vi editor example: vi htto.add [ENTER] http://www.cs.colostate.edu/helpdocs/vi.html Code (markup): in vi, you would need to copy the whole content of this file. You can do that with the following command :%y+ http://stackoverflow.com/questions/1620018/vi-editor-copy-all-the-lines-to-clipboard Code (markup): now, exit out of httpd.add and enter httpd.conf with vi To search for a certain string in vi, just use the / command, followed by the string example: /www.abc.com [ENTER] To copy something with vi, either just *right click* or press p To restart, just type /etc/init.d/httpd restart [ENTER] Hope that helps