Index Apache South Park .exe When Running An Apache Server, How Do I Make The Domain Point To A Specific HTML Document On The Server?

When running an apache server, how do I make the domain point to a specific HTML document on the server? - index apache south park .exe

I want to start a web server with Apache, and today I have a free domain and subdomain names. How can the domain name takes you to index the root of Apache in an HTML page automatically on the server?

1 comments:

texasogr... said...

There are many ways to accomplish this.

1) You have a symbolic link called index.html in the directory can links to the page that you want to use. I give you precise instructions, but you do not know what operating system your server. If it is Windows only a shortcut called index.html.



2) Edit httpd.conf and srm.conf:

Change this line.

DirectoryIndex index.html

Jump to:

DirectoryIndex Whateveryourfileis.html



3 Use). Htaccess

If you do not have access to the Apache configuration files, you can edit them or create htaccess A.

A. You can htaccess in any directory and many other functions in the file, but we focus on the role of index registers.

If you are not yet a. htaccess file, simply open your favorite text editor and try again. It's just a text file. Once you have the information, save the file with the filename. HtaccessSSE.

To change the directory index. Htaccess editing, or add the following line in the file:

DirectoryIndex Whateveryourfileis.html

This is the page file in the default run directory when the file instead. Htaccess file can specify a different default page for each individual part, without the rest of your site.

Post a Comment