Redirect not working after dns zone move
Hehe.....
I solved it after writing this whole thread...
So im just gonna post this anyway :-) maybe someone has the same problem in the future and finds this helpful :-)
###### START #######
So,
I followed these two guides to move ownership of dns zone to a cpuser:
The zone was created with WHM to begin with, and then I wanted to move it to a cpuser.
after modifying the zone files and then run updateuserdomains command the zone had been moved and I could see it inside the cpuser dashboard.
The zone is working inside the user, I can change the dns entries.
But Redirects are not working..
I get /cgi-sys/defaultwebpage.cgi page
I have tried to create a simple .php file with a header redirect . But that does not work either.
I tried to create a txt file inside "/home/cpuser/publich_html/subdomain/" but I get 404.
So its not reaching the cp_user/subdomain folder
##### END #########
The solution was to delete the zone and then I just added the zone back as addon domain :-)
should have tried that before starting this thread.
But I hope this solution helps someone.
Please sign in to leave a comment.
Comments
0 comments