Migration breaks website and email

Status
Not open for further replies.

afterda3

Member
Messages
56
Reaction score
0
Points
6
DIRECT ADMIN ISSUES

1. Website now displays:

"Apache is functioning normally"

where is the location of the web files now?

2. Email hosts are now changed to what?

3. FTP accounts broken too... please help!
 
Last edited:

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
1. We have been doing some digging and the bottom line is that it relates to forced https when there is no valid certificate available.

We'll look into a workaround for it (it has to do with how apache works is the short answer), but if you know you have this redirect in a .htaccess you should remove it to solve the issue.

2. mail.yourdomain.com should work, for a host with ssl you would need to update to the new server, in your case x14.x10hosting.com

3. What errors do you get, if any? What are you using for host, the server has changed so if you used the server address it needs to be altered as noted above.
 

photoguy

New Member
Messages
11
Reaction score
0
Points
1
Website now displays:

"Apache is functioning normally"

I have never changed any of the .htaccess settings

where is the location of the web files now?
If this is internal, any idea how long my webpages will be unavailable?
 

afterda3

Member
Messages
56
Reaction score
0
Points
6
1. We have been doing some digging and the bottom line is that it relates to forced https when there is no valid certificate available.

We'll look into a workaround for it (it has to do with how apache works is the short answer), but if you know you have this redirect in a .htaccess you should remove it to solve the issue.

2. mail.yourdomain.com should work, for a host with ssl you would need to update to the new server, in your case x14.x10hosting.com

3. What errors do you get, if any? What are you using for host, the server has changed so if you used the server address it needs to be altered as noted above.

1.
Regarding the forced https, I do use cloudflare to provide the SSL cert which worked fine previous to migration.

Is this the correct new path for the .htaccess file?

/domains/mywebstite.x10.bz/public_html/.htaccess

I do have a list of Rewrite conditions for SSL but no redirects, example:

RewriteCond %{HTTP_REFERER} !^https://mywebsite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mywebsite.com/.*$ [NC]


2.
Emails now working when updating to new server of :
x14.x10hosting.com
Previous emails that were in the "sent" folder have now been deleted...!

3.
x14.x10hosting.com server = IP address of : 104.18.51.158
Is this what I should instruct cloudflare to point to for the http?

The message "Apache is functioning normally" only appears when no subdomain is used: mywebsite.com
This rewrites correctly to : https://mywebsite.com/
The SSL certificate appears fine with no errors (apart from the "Apache is functioning normally" message)

BUT with www.mywebsite.com correctly rewriting to https://www.mywebsite.com/ I get a message:

Error 1016
Origin DNS error
You've requested a page on a website (www.mywebsite.com) that is on the Cloudflare network. Cloudflare is currently unable to resolve your requested domain (www.mywebsite.com).





https://x14.x10hosting.com:2222/use...erdarkminiatures.x10.bz/public_html/.htaccess
 

mycoo368

Member
Messages
183
Reaction score
4
Points
18
Im not getting an error going to your site over Cloudflare, but I get the Apache message. Looks good setup wise. When you are forcing https, you are forcing it to go to Cloudflare with the secure request.
 

Anna

I am just me
Staff member
Messages
11,739
Reaction score
579
Points
113
IP address for x14 is: 198.91.81.14 which is what you need to put into the A record at cloudflare.

The ip you have in your post is likely the IP of cloudflares servers.

That is the correct path for .htaccess

The rewrite condition may not exactly be a redirect from a server point of view, but the browser would see it as redirected to https if you try the domain without, so removing those rows should indeed solve the issue, updating the IP at cloudflares hopefully does too.
 
Status
Not open for further replies.
Top