Hosting Management

Uploading Website Files

Learn different methods to upload your website files

Uploading Website Files

There are multiple ways to upload your website files to the server. Choose the method that works best for you.

Method 1: CyberPanel File Manager (Easiest)

Steps:

  • Log into CyberPanel
  • Go to "File Manager" in the left sidebar
  • Navigate to: /home/yourdomain.com/public_html
  • Click "Upload" button
  • Select your files and upload
  • Wait for upload to complete
Upload your website files to the public_html folder, not the root directory.

Method 2: FTP/SFTP (Recommended for Large Sites)

Use an FTP client like FileZilla for faster uploads.

Connection details:

  • Protocol: SFTP
  • Host: 65.108.3.177
  • Port: 22
  • Username: Your CyberPanel username
  • Password: Your CyberPanel password

After connecting:

  • Navigate to /home/yourdomain.com/public_html
  • Drag and drop your files from your computer
  • Wait for transfer to complete

Method 3: Git Deployment (For Developers)

If your website is in a Git repository, you can deploy directly:

bash
# SSH into your server
ssh username@65.108.3.177

# Navigate to public_html
cd /home/yourdomain.com/public_html

# Clone your repository
git clone https://github.com/yourusername/yourrepo.git .

# Install dependencies if needed
npm install  # or composer install

File Permissions

After uploading, ensure proper permissions:

  • Folders: 755
  • Files: 644
  • Executable files: 755
Never set permissions to 777 - it's a security risk!

Last updated: January 20, 2025