Skip to main content

redirect website to external server

Comments

11 comments

  • cPRex Jurassic Moderator
    Hey there! It looks like you're just missing the additional A record for the "mail" subdomain. You'll want the main domain.pt to point to the remote website, the MX record is correct how you've configured it, and then the mail.domain.pt record to point to your local IP address. Can you try that and see if that gets things working how you expect?
    0
  • grapecar
    Hey there! It looks like you're just missing the additional A record for the "mail" subdomain. You'll want the main domain.pt to point to the remote website, the MX record is correct how you've configured it, and then the mail.domain.pt record to point to your local IP address. Can you try that and see if that gets things working how you expect?

    hi! I already had this pointer- mail.domain.pt A set to internal CPanel server. When I change the third record that I showed you before (domain.pt -3600 - A - external IP) to the external IP (which is where I have the website) is when the mail server 'crashes'.
    0
  • cPRex Jurassic Moderator
    I think there's some confusion on which IP address should point where. To avoid that in the following examples, the "external" IP is the IP address of the remote webserver, while the "internal" IP is the IP of the mail server. You would have the following three records in place: domain.com. IN A external mail.domain.com. IN A internal domain.com. IN MX mail.domain.com. Does that help?
    0
  • grapecar
    I think there's some confusion on which IP address should point where. To avoid that in the following examples, the "external" IP is the IP address of the remote webserver, while the "internal" IP is the IP of the mail server. You would have the following three records in place: domain.com. IN A external mail.domain.com. IN A internal domain.com. IN MX mail.domain.com. Does that help?

    No, you're right. That's the configuration that I thought works but when I change the domain.com A record to the external IP like you said there is when the mail server stops. the other records are as you mentioned.
    0
  • cPRex Jurassic Moderator
    That's very odd, as that's a standard DNS configuration that shouldn't be causing issues. If you have root access to the machine it would be best to put in a ticket so we can see the issue ourselves and find what is causing that behavior. If you are able to submit a ticket, please post the number here so I can follow along.
    0
  • grapecar
    That's very odd, as that's a standard DNS configuration that shouldn't be causing issues. If you have root access to the machine it would be best to put in a ticket so we can see the issue ourselves and find what is causing that behavior. If you are able to submit a ticket, please post the number here so I can follow along.

    I can't submit a ticket because I don't have any WHM account to set root user permissions to check my Support Access ID :D I will try to figure it out how to sent the ticket as soon as possible
    0
  • cPRex Jurassic Moderator
    If you don't have root access you would need to reach out to your hosting provider or datacenter for support, as we can only handle tickets for users with full root access to the system. If you do have root access and there are issues with the machine preventing you from creating a ticket, please email cs@cpanel.net to get the ticket creation process started.
    0
  • grapecar
    If you don't have root access you would need to reach out to your hosting provider or datacenter for support, as we can only handle tickets for users with full root access to the system. If you do have root access and there are issues with the machine preventing you from creating a ticket, please email cs@cpanel.net to get the ticket creation process started.

    do you want the inquiry's ID or you can't do anything about that?
    0
  • cPRex Jurassic Moderator
    If you have been given a ticket number I can follow along with that on my end.
    0
  • grapecar
    If you have been given a ticket number I can follow along with that on my end.

    no, not any ticket number just this:
    0
  • cPRex Jurassic Moderator
    Thanks for that - 94368900 is the ticket number, so I'm following along with this on my end now.
    0

Please sign in to leave a comment.