Adding TLD's like localhost

He has: 296 posts

Joined: May 2002

Hey,

I was wondering how I could add something like localhost, such as say testsuite, to my local apache server. Is there a way? I know when you freshly install Linux (Red Hat, at least), there's a manual one or something like that (I've installed/used Linux once).

Any help would be great!

[James Logsdon]

He has: 296 posts

Joined: May 2002

So.... something like:

<VirtualHost *>
    ServerAdmin <a href="mailto:[email protected]" class="bb-email">[email protected]</a>
    DocumentRoot D:/inetpub/Family
    ServerName webjunk
    ErrorLog logs/webjunk-error_log
    CustomLog logs/webjunk-access_log common
</VirtualHost>
'

That doesn't work, though

I have other vhosts set up for logsdon.org and troop594.org

[James Logsdon]

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Open your hosts file in Notepad and add a line like this

YOUR_IP_ADDRESS webjunk

Your Hosts file usually in C:\Windows\System32\drivers\etc\
And save it.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

He has: 296 posts

Joined: May 2002

Okay, thanks mark!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.