WordPress: Hosting a website on my WP site?

curiouswebster
curiouswebster used Ask the Experts™
on
I have a working WordPress site, and have a demo HTML site I need to add.

How do I do this?

This site has its own index.html and functions with no database access.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Marco GasiFreelancer
Top Expert 2010
Commented:
Create a subdomain, something like demo.yourdomain.com and put your demo site there. Then link to it in wp site.
Scott FellDeveloper & EE Moderator
Fellow 2018
Most Valuable Expert 2013
Commented:
It may depend on  how your hosting is set up.  A wordpress hosting service may only allow the one WP site.  If you are on a shared server, you may have the ability to add subfolders and domains.  Of course on your own server you can do what you want.

Ideally, you would create a new subdomain and place the folder outside of your www.  Otherwise, if you have to  place it on the same level, create a new folder and make sure the name of the folder is not the same as any "page" name in WP and store your files there.

If you are on a shared hosting service, it will only cost $5 to $10 per month to get a separate development account and that is probably the best thing to do anyway.  If you  have your own server, you can create new domains and web spaces.
curiouswebsterSoftware Engineer
Commented:
I was hoping I could upload the site like I do for Media.

I can do the subdomain, but need to be careful with that.

I am going live with a press release in 45 minutes, that requires my site for URL's in the release
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
You can also put it in a subfolder and then go to it like this

www.yoursite.com/demo
Most Valuable Expert 2011
Top Expert 2016
Commented:
... a demo HTML site I need to add ...
Does this site need to coexist with WordPress at all -- any reason you would need anything from the WP site to interact with anything in the demo site?  If not, why not just put it in its own server with its own URL?
curiouswebsterSoftware Engineer

Author

Commented:
The sub folder idea was not working. I also realized I can use a distinct host to handle this.

Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial