Hello @kimseng vit ,
Thank you for posting here.
Based on the description, I understand you want to join a WSUS server to the existing domain with two DCs (a primary domain controller and a secondary domain controller).
Please troubleshoot as below:
- Before we do any change in existing AD domain environment, we had better do:
1-1Check if AD environment is healthy. Check all DCs in this domain is working fine by running command Dcdiag /von each DC.
1-2Check if AD replication works properly by running repadmin /showrepl and repadmin /replsum on primary DC.
1-3Check if both SYSVOL folder and Netlogon folder are shared by running net share on each DC.
1-4Check if we can update GPO by running command gpupdate /force on each DC successfully.
2.Check if you set static IP addresses for both DCs.
For example:

3.Check if primary domain controller and secondary domain controller are all DNS server (I mean check if you install and configure DNS role on both DCs).
Or check if there is NS record for both DCs in the DNS manager.
For example:

4.Check if you set the correct preferred DNS server on WSUS server (Please double check here, no one number can be wrong ).
For example:

5.Check if you type the correct domain name when joining the server into domain.
If it does not work, please confirm:
1.Based on "Now i have some issue with my client any new client PC with windows 10 can't join primary domain controller but my secondary domain controller is working fine. ", did you mean when you set the Preferred DNS server using the IP address of primary domain controller on WSUS server, you cannot join the WSUS server to domain, but when you set referred DNS server using the IP address of secondary domain controller on WSUS server, you can join the WSUS server to domain, is it right?
2.What did you mean "also can't access to website"?
Hope the information above is helpful.
Should you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.