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
#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
#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
#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
#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
#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


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,345 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 463 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,703 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)