This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Sentora Transfer Domain
#1
Sentora Transfer Domain
Hi,

I would like to transfer from client user to zadmin ( default sentora user ) & i am using following modules to achieve this


Quote:http://forums.sentora.org/showthread.php?tid=1358

and changed all the required settings mentioned in the thread.

The domain transfer was successful but when i visit the site i get following error


Code:
Not Found

The requested URL / was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

If i transfer the domain to the client user ( I.E old account ) the domain loads fine
Reply
Thanks given by:
#2
RE: Sentora Transfer Domain
Check to see if the files are moved to the zadmin account...(/var/sentora/hostdata/zadmin/public_html/) it may also take up to 5 minutes for the daemon to update the vhosts file too.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Sentora Transfer Domain
The files are moved to the following location /var/sentora/hostdata/zadmin/public_html/ and host files are also updated to reflect the changes

Code:
################################################################


# DOMAIN: samat*************.tv
<virtualhost *:80>
ServerName samat*************.tv
ServerAlias  www.samat*************.tv
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/samat*************_tv"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/samat*************_tv:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate,$
ErrorLog "/var/sentora/logs/domains/zadmin/samat*************.tv-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/samat*************.tv-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/samat*************.tv-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/samat*************_tv">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)

</virtualhost>
# END DOMAIN: samat*************.tv
################################################################


And waited for the daemon to update also manually run the daemon and getting following error in chrome

Code:
This page isn’t working

samat*************.tv is currently unable to handle this request.
HTTP ERROR 500

Edit : Moved back to the old account everything works fine
Reply
Thanks given by:
#4
RE: Sentora Transfer Domain
There could be a configuration issue with the site. Check it's .htaccess if there is one.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#5
RE: Sentora Transfer Domain
yes .htaccess file is available after domain transfer to zadmin account and the .htaccess code is

Code:
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

and the site is developed using cake php framework
Reply
Thanks given by:
#6
RE: Sentora Transfer Domain
That one should be OK.

I have noticed sometimes apache does not restart on Ubuntu (No idea why not...still working on that one.)
After you transfer the domain and do the daemon run, restart apache. (service apache2 restart)

That could be the issue since if apache does not reload it will still be looking in the old location for the site files and give you the error.

I'll keep trying to sort out why apache isn't reloading and update the files on GitHub and post an announcement once I sort out the fix.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,954 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,581 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 3 ,325 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 2 Guest(s)