【发布时间】:2014-05-13 11:39:59
【问题描述】:
我创建了一个非常简单的 html 页面。下面是html文件的代码
<html>
<head>
<title>Client Login</title>
</head>
<body>
<form method="post" action="Sign up.php">
<table width='400' cellpadding='10' cellspacing='1' align='left' style='margin:186 90' border='0'>
<td><font size="3" face="arial, helvetica">Don't have an account? Please register
<td><font size="3" face="arial, helvetica"><input type='submit' name='signup' value='Sign Up'/>
</table>
</form>
</body>
</html>
此外,如果我在其中添加一些 php 代码,我会通过 wamp 从 apache 服务器运行它。
我想问你,如果我想在互联网上将它加载到特定的 URL,我该怎么做? 例如,打开我的网络浏览器并在 URL 地址处写入:http://www.exampleWebSite.com,然后我的页面就会显示出来。
谢谢
【问题讨论】:
-
这不是编程问题。但它的要点是 1) 获得域名 2) 获得网络托管 3) 将文件上传到托管
-
如果要显示页面,首先应该将其上传到服务器。并将文件名设置为index.html/index.php。这是服务器要查找的第一个页面。跨度>