Inasmuch as someone saw fit to resurrect this 4+ year old topic, I'll take this opportunity to update before locking this topic to further posts.
Adobe's aged out activation servers for legacy Creative Suites 1 - 4 as well as pre-Creative Suite Macromedia products no longer exist. Even with a valid serial number and your original installation disks, it's impossible to activate these products beyond the initial trial period. A virtualbox with legacy operating system won't help you.
Likewise CS5 and CS6 are on life support. Their old 32-bit installers are not compatible with macOS Sierra, High Sierra or Mojave without terminal workarounds. And they simply won't install on modern macOS Catalina, Big Sur, Monterey or Ventura which require 64-bit apps.
Best advice, get modern software that's compatible with your modern device. If not Dreamweaver Creative Cloud, then some other code editor.
MODERN CODE EDITORS:
====================
-- Adobe Dreamweaver CC - https://www.adobe.com/products/dreamweaver.html
-- Codespaces (free, browser-based) - https://github.com/features/codespaces
-- Nova (Mac only, formerly called Coda) - https://nova.app/
-- Pinegrow - https://pinegrow.com/
-- Sublime Text - http://www.sublimetext.com/
-- Visual Studio Code (free) - https://code.visualstudio.com/
-- Wappler ~ Visual Web App Builder - https://wappler.io/
ONLINE SITE BUILDERS:
==================
-- Squarespace - https://www.squarespace.com/
-- Webflow - https://webflow.com
-- Wix - https://www.wix.com/
-- WordPress (open source) - https://wordpress.org/
Hope that helps.
[Discussion updated & locked by moderator 11/19/22.]