Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - offshore

Pages: [1]
Apache / Change website directory
« on: June 22, 2018, 06:08:32 AM »
hi, i have 50 gb ssd as mail directory and 150gb as attachment. My all websites are hosted in the 50gb disk . i want to change directory of few websites to 150gb disk . so i transferred the files and changed apache config virtual host and nginx host file config

files i changed are

nginx host file and ssl file  and apache host file ( changed root directory to- /mnt/data/

# Virtual host file starts here

server {
access_log /var/log/nginx/;
error_log /var/log/nginx/;
root /mnt/data/;

location / {
location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso|woff|ttf|svg|eot|sh)\$ {
expires 7d; #Comment this out if you are using the apache backend cache-control/expires headers.
try_files \$uri \@backend;
error_page 405 = \@backend;
error_page 500 = \@custom;
add_header X-Cache "HIT from Backend";
location \@backend {
location \@custom {
location ~ .*\.(php|jsp|cgi|pl|py)?\$ {
location ~ /\.ht {
deny all;

# Virtual host file ends here

# vhost_start
   DocumentRoot /mnt/data/
   UseCanonicalName Off
   ScriptAlias /cgi-bin/ /home/orthoboa/public_html/

   # Custom settings are loaded below this line (if any exist)
   # Include "/usr/local/apache/conf/userdata/orthoboa/*.conf

   <IfModule mod_userdir.c>
      UserDir disabled
      UserDir enabled orthoboa

   <IfModule mod_suexec.c>
      SuexecUserGroup orthoboa orthoboa

   <IfModule mod_suphp.c>
      suPHP_UserGroup orthoboa orthoboa
      suPHP_ConfigPath /home/orthoboa

   <Directory "/mnt/data/">
      AllowOverride All

# vhost_end

now i am getting an error- Internal Server Error

i have restarted both services after making changes

also fixed permissions

Do i need to do anything else?

What all should be done to change website directory ?


E-Mail / help needed setting up email server -
« on: June 11, 2018, 05:40:41 PM »
my public ip is different from server ip . CWP recognises private ip as server ip. hence reverse dns values of private ip are resolved instead of my public ip whose rdns is configured correctly . hence i am unable to setup mail server . any help is much appreciated

CWP TO CWP - no files and databases migrated . user account details migrated

can any one pls help

error log

2018-06-04 01:51:24
2018-06-04 01:51:25 start copy of mysql orthoboa
2018-06-04 01:51:25 Generating Database Backup

2018-06-04 01:51:43 Copying Files orthoboa
2018-06-04 01:51:43 Successfully migrated account orthoboa
2018-06-04 01:51:43 Creating user and mysql permissions on the remote machine orthoboa
2018-06-04 01:51:44 Successfully migrated account orthoboa
2018-06-04 01:51:44 END

log files not showing any error

databases cant be seen in destination server . domain folder are generated but no files

Pages: [1]