This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
faq:how-to-add-new-ftp-account-to-update-add-plugins-and-themes [2013/08/01 10:27] Alia |
faq:how-to-add-new-ftp-account-to-update-add-plugins-and-themes [2013/08/02 04:25] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Q: How to upgrade/add plugins and themes without using main cPanel username and password??===== | + | ===== Q: How to upgrade/add plugins and themes without using main cPanel username and password?===== |
- | Every time you update/add plugins and themes Oxwall asks you to enter FTP attributes: host name, control panel username and password. In case you don't want to give out this information you can set separate FTP accounts with access to only needed data on you server. | + | Every time you update/add plugins and themes Oxwall asks you to enter FTP attributes: host name, control panel username and password. In case you don't want to give out this information you can set separate FTP accounts with access to only needed data on your server. |
Requirements: access to your control panel, access to admin panel. | Requirements: access to your control panel, access to admin panel. | ||
Line 7: | Line 7: | ||
|**Important!!!**: Make sure that your FTP domain (ftp.yourdomain.com) is valid. OR use **localhost** instead| | |**Important!!!**: Make sure that your FTP domain (ftp.yourdomain.com) is valid. OR use **localhost** instead| | ||
- | ====If you Oxwall site is installed under your main domain name: ==== | + | ====If Oxwall is installed under your main domain name: ==== |
- | 1. Log in to your control panel>FTP Accounts | + | 1. Log in to your control panel>FTP Accounts. |
- | 2. Create new FTP account. Make sure the **directory** option in the ftp form shows **public_html** (the default will show public_html/**name**. Remove the name ( highlighted in red on screen shot) so that it is just public_html. | + | |
- | {{:faq:ftpaccount.png?400|}} | + | 2. Create new FTP account. |
+ | Make sure the **directory** option in the ftp form shows "public_html". | ||
+ | The default value will show as "public_html/{$login_name}". Remove the name ( highlighted in red on screen shot) so that it is just "public_html". | ||
+ | {{:faq:ftpaccount.png?400|}} {{:faq:ftaccountmain_final.png?400|}} | ||
+ | 3. Done. Next time when Oxwall asks you for FTP attributes use: | ||
+ | * Host name: "ftp.yourmaindomainname.com" OR "localhost" | ||
+ | * Username: created_login_name@yourdomain.com ( ex: oxftpmain@mymaindomainname.com) | ||
+ | * Password: created password | ||
+ | * Port: 21 | ||
- | Also when you are presented with the update form in oxwall you need to change local host to ftp.yoursite.com and then enter the username as name@yoursite.com and then enter the pw for that ftp account. | + | ====If Oxwall is installed under sub/addon domain name or subfolder: ==== |
+ | 1. Log in to your control panel>FTP Accounts. | ||
+ | |||
+ | 2. Create new FTP account. | ||
+ | |||
+ | The name will default to be your main domain so you can name it, for example, oxftpsub@your_main_domain.com. | ||
+ | |||
+ | Make sure to change** directory** option in ftp form. | ||
+ | The default value will show "/public_html/{$login_name}"). Change it to: "/public_html/**your_sub_or_addon_dir_name ** . | ||
+ | |||
+ | For example: my Oxwall site is installed under www.mymaindomainname.com/oxwall153, therefore when creating new FTP account I will use "/public_html/oxwall153" instead of default value. | ||
+ | |||
+ | {{:faq:ftpaccountsub.png?400|}} {{:faq:screenshot-29.png?400|}} | ||
+ | |||
+ | Do not remove or change any slashes at all, just change the location from the default to your sub or add on domain (if there is a trailing slash in the default then leave it). | ||
+ | |||
+ | 3. Done. Next time when Oxwall asks you for FTP attributes use: | ||
+ | |||
+ | * Host name: "ftp.yourmaindomainname.com" OR "localhost" | ||
+ | * Username: created_login_name@yourdomain.com ( ex: oxftpmain@mymaindomainname.com) | ||
+ | * Password: created password | ||
+ | * Port: 21 | ||
+ | |||
+ | |**Note**: This documentation was provided by our contributor [[http://www.oxwall.org/user/durangod| Dave ]]. Original instructions can be found [[http://www.oxwall.org/forum/topic/12297|here]] | | ||
- | Example: if an ftp account is named oxftp@yoursite.com Then for the host change local host to ftp.yoursite.com and the the username will be oxftp@yoursite.cm and then the password for that ftp account, keep the port 21 | ||