htmldefault-document

html document subdomain webpage


You can see what I'm talking about in the screenshot below.

Basically, I have a subdomain (i.e. subdomain.website.com) and all I want on it is a single HTML document to display. The HTML document is titled home.php in the image but it should be home.html, which I'll change later.

When I open subscribe.website.com in my browser, I'm presented with the 2nd image, and have to click on the document link to display it. Is there a way to set it up so that when I go to subscribe.website.com, home.html document loads automatically?

screen shot


Solution

  • What you are trying to achieve can be done in multiple ways: