Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Sep 2019
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question New Website being re-routed

    HI, new developer here.

    Working on a site for a dog boarding business.

    The site, carvercanines.com, has been being re-routed to a random, spam-looking site. Appears to happen mainly using mobile browser or when texting the URL to someone.

    I've purchased an SSL cert and Hostgator is the hosting company. Only using HTML/CSS in the code.

    Not sure where the issue lies. Perhaps the cert was entered incorrectly?

    I've noticed when using https:// seams to bring up the correct site. Could be a Man-in-the-middle attack?

    Any tips are appreciated.

    Thanks

    FK

  2. #2
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,752
    Thanks
    5
    Thanked 539 Times in 525 Posts
    Whilst I see a LOT wrong with the code -- invalid HTML, tags and attributes that have no business being used any time after 1998, content after the </body>, gibberish nonsensical use of numbered headings and horizontal rules, lack of media targets, conflicting META, static scripting in the markup, etc, etc -- I do not see anything in the page's code that would cause such issues. I even spoofed my UA string and set the screen size to see if I could trigger such behavior, nada.

    So... how long has your domain been pointed at this current site? Could this be so new that DNS hasn't fully propagated?

    Do you have an incorrect DNS server in the domain list? I'm getting both:

    162.144.12.28
    192.254.250.158

    Which are nowhere near each-other and not all servers on the propagation tool are reporting them in the same order. Which one is your current hosting, and do you know why/where/how two different addresses are being reported?

    Your SSL/https seems to have nothing to do with it. Your DNS is misconfigured to report two different valid IP addy's when it should only be showing one.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com

  3. Users who have thanked deathshadow for this post:

    FreshKode (Sep 20th, 2019)

  4. #3
    New to the CF scene
    Join Date
    Sep 2019
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    i see.

    The 162.144.12.28 is the IP of the site according to hostgator.

    Its been pointed for around 2 weeks.

    I removed the questionable Meta tags.

    Any difference?

  5. #4
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,752
    Thanks
    5
    Thanked 539 Times in 525 Posts
    Meta in the markup should have nothing to do with your actual problem. Somehow you have BOTH addresses listed in DNS services simultaneously. This means either your hosting or your DNS is screwed up. It has not a single thing to do with the code of your page.

    Who did you buy the name from? What DNS companies are it registered with? Are you sure you don't have multiple "A Records" in your DNS configuration?

    If you don't know about DNS or configuring type records, you might want to reach out to your hosting provider or name services provider to see if they can help.

    Two weeks the old record should be gone, unless whatever old server provided DNS is still reporting when it shouldn't. Again, I'd check to make sure that only the CURRENT nameservers are associated with the name via whoever the registrar is.
    Last edited by deathshadow; Sep 20th, 2019 at 10:02 PM.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com

  6. #5
    New to the CF scene
    Join Date
    Sep 2019
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I bought the domain from Google domains, Hostgator hosts the domain name.

    In regards to the 'A Records' i see a bunch listed in my Zone File Records in Hostgator. Not familiar with Records (obviously) Do I only need one 'A Record?' Which records should I remove?

    Thanks again for the info.

  7. #6
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,752
    Thanks
    5
    Thanked 539 Times in 525 Posts
    I'd have to see which ones are listed to say which ones need to go... realistically you should have only ONE A record, but if you got the domain through Google you should be setting DNS over there...

    But I've not used hostgator in years, so Christmas only knows how badly they've screwed over their already crappy hosting in the decade or so since I saw it last.

    You should try reaching out to them for help. After all their plans are all allegedly MANAGED hosting. This is the type of thing they should help you manage...
    Last edited by deathshadow; Sep 23rd, 2019 at 09:50 PM.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com

  8. #7
    New to the CF scene
    Join Date
    Sep 2019
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    What hosting company do you recommend?


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •