best way to move websites to new server

Discussion in 'General' started by Sheshman, Mar 9, 2022.

  1. Sheshman

    Sheshman Member

    Hi,
    I want to create a fresh install of my ispconfig server, there 12 web sites on the server and i need to move them to new server, so what is the best way to move websites to new server instead of backup files and databases one by one.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Sheshman likes this.
  3. Sheshman

    Sheshman Member

    thanks till, one quick question my server's name is tlsteknoloji.net (ns1.server1.tlsteknloji.net) can i host tlsteknoloji.net website on this server? because when i forward dns to my ip address all sites working except tlsteknoloji.net, when i try with changing hostfile of my os even i'm getting "DNS_PROBE_FINISHED_NXDOMAIN" for this domain only.
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is this on the new server or old?
    It seems DNS is not working for tlsteknoloji.net
    Code:
    $ host tlsteknoloji.net
    ;; connection timed out; no servers could be reached
    
    These are the name servers for that domain:
    Code:
    $ whois  tlsteknoloji.net  | grep "Name Server"
       Name Server: ATHENA.TLSTEKNOLOJI.NET
       Name Server: KRONOS.TLSTEKNOLOJI.NET
    Name Server:KRONOS.TLSTEKNOLOJI.NET
    Name Server:ATHENA.TLSTEKNOLOJI.NET
    
     
  5. Sheshman

    Sheshman Member

    you are correct when i check ns records it show the same thing but when i create record on my host file and try it returns DNS error, that confuses me
     

    Attached Files:

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The hosts file on your server is not a replacement for DNS records. It allows only requests from your server to the local system.
     
    Sheshman likes this.
  7. Sheshman

    Sheshman Member

    attached host file configuration on my previous post on my client pc not on server, correct me if i'm wrong but when i added that record i should be able to reach to website on ispconfig server even if don't do any dns forwarding right?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    That's correct if it's the hosts file of your desktop. But the domain you tried to reach is not in that hosts file. You are trying to reach the URL www.tlsteknoloji.net but the hosts file contains only tlsteknoloji.net
     
    Sheshman likes this.
  9. Sheshman

    Sheshman Member

    that was the problem exactly, edited host file as www.tlsteknoloji.net and i can reach now, thanks.
     

Share This Page