Instead, you should install the new hard disk mac os through a USB flash disk (Apple Tools for 10.13.6 USB flash disk should be made in advance), so that you can identify the new hard disk In addition, the disk must be formatted as APFS during installation.
eBay