This is a "NewbieProof (TM)" guide for creating PowWeb's Easy new method subdomain.
Note:
Subdomain and pointed domain are different things.cherry.com <== domain name (main domain)sub1.cherry.com <== subdomainIf you purchase another domain, 'apple.com' and configure it to beserved by the same web server, 'apple.com' is a pointed domain of 'cherry com'.Please don't mix these two, especially when you ask questions in PowWeb Forum
Steps to take
New !
Now, PowWeb's SiteManager has subdomain tab that handles Easy method subdomains.As it's pretty easy, you should be using it, from now on.(Use OPS username/password.)https://ops.powweb.com/?module=packages&submodule=sitemanager&page=%3Fmodule%3DsubdomainsHere is the manual method, if you prefer that, somehow.
WebFTP
We will be using WebFTP. You may know how to use other FTP but forget it , for now.There are some good reason for using WebFTP.Stick to this guide, and you will make it.Login to WebFTP
Access https://webftp.powweb.com/ using parameters you received in welcome mail. If you don't know which FTP server to use, goto OPS->Packages->FTP and you will see Server Hostname ftp0X.powweb.comMake directory (folder) for new subdomain
- Clcik Make Dir in the upper left side
- Type in the name of subdomain, all in lower case without space or other special characters ("sub1" for example).
- Push Make Dir button.
Go to newly created directory
When the screen updates, click on the new directory you've just created.You should see You are here: /sub1 at the top of the list.Make htdocs directory (folder) for subdomain
- Clcik Make Dir in the upper left side
- Type in htdocs (in lower case).
- Push Make Dir button.
Go to newly created /sub1/htdocs directory
When the screen updates, click on the new directory you've just created.You should see You are here: /sub1/htdocs at the top of the list.Create 'index.html' for testing
- Click Create file in upper left side just under Make dir.
- Type sub1/index.html in the text area.
- Type in index.html in the filename and push save
Test
- Access http://sub1.yoursite.com/ replacing "sub1" and "yoursite.com" with the real name.
- Verify that you see index.html you've just created, showing "sub1/index.html"
- If it doesn't show, you made mistake in somewhere.
Check the URL you used for the test.Did you type correct subdomain name?Did you really make the directory with the name?Did you make htdocs under the newly created subdomain directory?Did you create the index.html for testing?Verify and reverify these points, using WebFTP.Check error_log. You can get it by "Log view" tab of sitemanageror EasyLogTool
Directory structure
/www/U/USER/ <== The top of your directory. We'll call it 'HOME'. ex. If your username is 'apple', it would be /www/a/apple/ /www/D/O/DOAMAINCOM/ <== This is an alias to the 'HOME' ex. If your domain is 'apple,com', it would be /www/a/p/applecom/ /www/U/USER/htdocs/ <== Document root for the main domain. This is the directory, treated as the top for Webserver. ex. http://apple.com/cider.html will be served by /www/a/apple/htdocs/cider.html PowWeb's new easy method subdomain: /www/U/USER/sub1/htdocs/ <== Document root for subdomain 'sub1' ex. http://sub1.apple.com/pie.html will be served by /www/a/apple/sub1/htdocs/pie.html
Other methods
There are other methods for creating subdomain.Check these links to learn more.DomainManager, Generic .htaccess MethodDomainManager can handle 'Easy method subdomain', too.Actually it's much easier with DomainManager.But you have to install extratools.php , first,and then install Python (mini package) and DomainManager.Also, I think it's beneficial to learn how to use WebFTPas it can edit .htaccess in almost all situation,and it can be used for comparison when FTP connection is strange.
Questionable color of this page is dictated by blueberry cream cake, my favorite dessert.
This page is http://Check-these.info/EasySubdomain.html