Your question doesn't make much sense -- what is it you're trying to do? If you just want the Fedora sdystem to authenticate via NIS, then you just need to edit /etc/yp.conf to add your NIS domain and server (make sure the IP of the server is listed in /etc/hosts -- I don't think NIS will do a DNS lookup). The line would look like:
domain <mydomain> server <name of SunOS system>
Obviously you need to fill in <nydomain> and <name of SunOS system>. Also make sure that the Linux machine is on a network listed in /etc/ypserv.securenets on the Solaris system (this is required in Linux, but Sun may have a different implementation). Then start up ypbind on the Linux machine and you should be OK.
If you want to migrate users from the Fedora system onto NIS you'll need to add the user/groups to the passwd and group files on the NIS server.
Also, I don 't like having NIS enabled on Web servers. The reason being is that anyone who exploits a hole in a Web application can easily get your passwd file and set to work cracking it (NIS should only be used on completely trusted machines). Granted that they can do the same by rooting a system on your network, but that's generally a lot harder than finding a hole in some Web applicationm (at least if you're up to date with patching and have sane security practices).